mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-07 02:28:35 +00:00
DocBook: improve new lines around maths.
This commit is contained in:
parent
d3e1f2a6d4
commit
c1ec3394c6
@ -2424,6 +2424,7 @@ void InsetMathHull::docbook(XMLStream & xs, OutputParams const & runparams) cons
|
||||
}
|
||||
|
||||
xs << xml::StartTag(name, attr);
|
||||
xs << xml::CR();
|
||||
|
||||
// With DocBook 5, MathML must be within its own namespace; defined in Buffer.cpp::writeDocBookSource as "m".
|
||||
// Output everything in a separate stream so that this does not interfere with the standard flow of DocBook tags.
|
||||
@ -2465,6 +2466,7 @@ void InsetMathHull::docbook(XMLStream & xs, OutputParams const & runparams) cons
|
||||
|
||||
// Output the complete formula to the DocBook stream.
|
||||
xs << XMLStream::ESCAPE_NONE << osmath.str();
|
||||
xs << xml::CR();
|
||||
xs << xml::EndTag(name);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user