]> git.lyx.org Git - features.git/blobdiff - src/insets/InsetMarginal.cpp
Improved character count statistics for letter based insets (e.g. the LyX logo).
[features.git] / src / insets / InsetMarginal.cpp
index 54922fced5acec533d95d8d254c0775b7474fb6a..5d2fb909f291caff80cafa74f1cb84b3d08eaeac 100644 (file)
  */
 
 #include <config.h>
-#include <output_docbook.h>
 
 #include "InsetMarginal.h"
 
 #include "Buffer.h"
 #include "BufferParams.h"
 #include "OutputParams.h"
+#include "output_docbook.h"
 #include "TocBackend.h"
 
 #include "support/docstream.h"
@@ -48,7 +48,7 @@ void InsetMarginal::docbook(XMLStream & xs, OutputParams const & runparams) cons
        // Unfortunately, only for XSL-FO output with the default style sheets, hence the role.
        xs << xml::StartTag("sidebar", "role=\"margin\"");
        xs << xml::CR();
-       xs << "<?dbfo float-type=\"margin.note\"?>";
+       xs << XMLStream::ESCAPE_NONE << "<?dbfo float-type=\"margin.note\"?>";
        InsetText::docbook(xs, runparams);
        xs << xml::EndTag("sidebar");
 }