]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetExternal.cpp
Allow row-breaking after some insets
[lyx.git] / src / insets / InsetExternal.cpp
index f604a1fb9d2e0028005a57524e643037b60e35c9..7fd96cbb1d277967b3ef3a50e407a2e85d410506 100644 (file)
@@ -33,6 +33,7 @@
 #include "output_latex.h"
 #include "output_xhtml.h"
 #include "texstream.h"
+#include "xml.h"
 #include "TocBackend.h"
 
 #include "frontends/alert.h"
@@ -789,7 +790,7 @@ int InsetExternal::docbook(odocstream & os,
 }
 
 
-docstring InsetExternal::xhtml(XHTMLStream & xs,
+docstring InsetExternal::xhtml(XMLStream & xs,
                        OutputParams const & runparams) const
 {
        bool const external_in_tmpdir = !runparams.nice;
@@ -804,7 +805,7 @@ docstring InsetExternal::xhtml(XHTMLStream & xs,
                if (buffer().isClone() && buffer().isExporting())
                        throw ConversionException();
        }
-       xs << XHTMLStream::ESCAPE_NONE << ods.str();
+       xs << XMLStream::ESCAPE_NONE << ods.str();
        return docstring();
 }