From: Richard Heck Date: Sat, 30 Jul 2016 04:03:35 +0000 (-0400) Subject: Simplify CSS classes for floats. X-Git-Tag: 2.3.0alpha1~1205 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=50c139195083120fb79a215d21cedda516a3451c;p=features.git Simplify CSS classes for floats. Fixes bug #8605 and probably parts of #8755 and #9328. --- diff --git a/src/Floating.cpp b/src/Floating.cpp index 03bde1fe24..8309e79caa 100644 --- a/src/Floating.cpp +++ b/src/Floating.cpp @@ -44,7 +44,7 @@ Floating::Floating(string const & type, string const & placement, string const & Floating::htmlAttrib() const { if (html_attrib_.empty()) - html_attrib_ = "class='float " + defaultCSSClass() + "'"; + html_attrib_ = "class='" + defaultCSSClass() + "'"; return html_attrib_; }