commit d0748cd69ccaf025ec3ebe376811ed29c5580b2b
Author: Thibaut Cuvelier <tcuvel...@lyx.org>
Date:   Mon Jul 20 02:58:48 2020 +0200

    DocBook: properly escape PI in InsetMarginal.
---
 src/insets/InsetMarginal.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/insets/InsetMarginal.cpp b/src/insets/InsetMarginal.cpp
index 119c636..5d2fb90 100644
--- a/src/insets/InsetMarginal.cpp
+++ b/src/insets/InsetMarginal.cpp
@@ -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");
 }
-- 
lyx-cvs mailing list
lyx-cvs@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-cvs

Reply via email to