From: Richard Heck Date: Mon, 14 Dec 2009 16:52:33 +0000 (+0000) Subject: Fix the height output for InsetBox. X-Git-Tag: 2.0.0~4814 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=814af09a69908003c349ec98231dec0e2902e2b0;p=features.git Fix the height output for InsetBox. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32531 a592a061-630c-0410-9148-cb99ea01b6c8 --- 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 + "'";