From 814af09a69908003c349ec98231dec0e2902e2b0 Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Mon, 14 Dec 2009 16:52:33 +0000 Subject: [PATCH] Fix the height output for InsetBox. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32531 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/insets/InsetBox.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/insets/InsetBox.cpp b/src/insets/InsetBox.cpp index e1557bc15a..1ad78ea2bf 100644 --- a/src/insets/InsetBox.cpp +++ b/src/insets/InsetBox.cpp @@ -486,7 +486,8 @@ docstring InsetBox::xhtml(XHTMLStream & xs, OutputParams const & runparams) cons string style; if (!params_.width.empty()) style += ("width: " + params_.width.asHTMLString() + "; "); - if (!params_.height.empty()) + // The special heights don't really mean anything for us. + if (!params_.height.empty() && params_.height_special == "none") style += ("height: " + params_.height.asHTMLString() + "; "); if (!style.empty()) attrs += " style='" + style + "'"; -- 2.39.2