DocBook: properly escape PI in InsetMarginal.

This commit is contained in:
Thibaut Cuvelier 2020-07-20 02:58:48 +02:00
parent fb45f7b8c9
commit d0748cd69c

View File

@ -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");
}