commit 98ba7cf49d0ab361c546ddf9b8ced259219f124a
Author: Richard Heck <[email protected]>
Date:   Wed Jun 29 21:57:35 2016 -0400

    Don't be so cute with VSpace: We just output it inline now for
    XHTML.
    
    Fixes bug #8154.
    
    (cherry picked from commit 8ea3d1f130513eaf54e6a9ad49619059cd0052b9)
---
 src/insets/InsetVSpace.cpp |    8 +++-----
 status.22x                 |    2 ++
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/insets/InsetVSpace.cpp b/src/insets/InsetVSpace.cpp
index f621172..7edbebf 100644
--- a/src/insets/InsetVSpace.cpp
+++ b/src/insets/InsetVSpace.cpp
@@ -232,14 +232,12 @@ int InsetVSpace::docbook(odocstream & os, OutputParams 
const &) const
 }
 
 
-docstring InsetVSpace::xhtml(XHTMLStream &, OutputParams const &) const
+docstring InsetVSpace::xhtml(XHTMLStream & os, OutputParams const &) const
 {
-       odocstringstream ods;
-       XHTMLStream xds(ods);
        string const len = space_.asHTMLLength();
        string const attr = "style='height:" + (len.empty() ? "1em" : len) + 
"'";
-       xds << html::StartTag("div", attr, true) << html::EndTag("div");
-       return ods.str();
+       os << html::StartTag("div", attr, true) << html::EndTag("div");
+       return docstring();
 }
 
 
diff --git a/status.22x b/status.22x
index a5d56b5..3bb7c3c 100644
--- a/status.22x
+++ b/status.22x
@@ -169,6 +169,8 @@ What's new
 
 - Fix output of math sizes (bug 10129).
 
+- Fix output of vertical space in the middle of a paragraph (bug 8154).
+
 
 * TEX2LYX
 

Reply via email to