mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +00:00
DocBook: fix margin notes.
They were nested twice in <sidebar>. Also fixes a new line issue.
This commit is contained in:
parent
91982ee105
commit
6d246bba69
@ -44,8 +44,7 @@ InsetLayout Marginal
|
||||
EndHTMLStyle
|
||||
AddToToc marginalnote
|
||||
IsTocCaption true
|
||||
DocBookTag sidebar
|
||||
DocBookAttr role="margin"
|
||||
DocBookTag para
|
||||
End
|
||||
|
||||
InsetLayout Foot
|
||||
|
@ -49,6 +49,7 @@ void InsetMarginal::docbook(XMLStream & xs, OutputParams const & runparams) cons
|
||||
xs << xml::StartTag("sidebar", "role=\"margin\"");
|
||||
xs << xml::CR();
|
||||
xs << XMLStream::ESCAPE_NONE << "<?dbfo float-type=\"margin.note\"?>";
|
||||
xs << xml::CR();
|
||||
InsetText::docbook(xs, runparams);
|
||||
xs << xml::EndTag("sidebar");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user