mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
Don't be so cute with VSpace: We just output it inline now for
XHTML.
Fixes bug #8154.
(cherry picked from commit 8ea3d1f130
)
This commit is contained in:
parent
63f6ee213c
commit
98ba7cf49d
@ -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();
|
||||
}
|
||||
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user