commit c1ec3394c6fa5f0e234fb9e802a2ddccdc67ab28
Author: Thibaut Cuvelier <[email protected]>
Date: Sat Aug 1 21:43:44 2020 +0200
DocBook: improve new lines around maths.
---
src/mathed/InsetMathHull.cpp | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/mathed/InsetMathHull.cpp b/src/mathed/InsetMathHull.cpp
index 5dd492c..d0e11fe 100644
--- a/src/mathed/InsetMathHull.cpp
+++ b/src/mathed/InsetMathHull.cpp
@@ -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);
}
--
lyx-cvs mailing list
[email protected]
http://lists.lyx.org/mailman/listinfo/lyx-cvs