They were nested twice in <sidebar>. Also fixes a new line issue.
EndHTMLStyle
AddToToc marginalnote
IsTocCaption true
EndHTMLStyle
AddToToc marginalnote
IsTocCaption true
- DocBookTag sidebar
- DocBookAttr role="margin"
xs << xml::StartTag("sidebar", "role=\"margin\"");
xs << xml::CR();
xs << XMLStream::ESCAPE_NONE << "<?dbfo float-type=\"margin.note\"?>";
xs << xml::StartTag("sidebar", "role=\"margin\"");
xs << xml::CR();
xs << XMLStream::ESCAPE_NONE << "<?dbfo float-type=\"margin.note\"?>";
InsetText::docbook(xs, runparams);
xs << xml::EndTag("sidebar");
}
InsetText::docbook(xs, runparams);
xs << xml::EndTag("sidebar");
}