commit 50c139195083120fb79a215d21cedda516a3451c Author: Richard Heck <rgh...@lyx.org> Date: Sat Jul 30 00:03:35 2016 -0400
Simplify CSS classes for floats. Fixes bug #8605 and probably parts of #8755 and #9328. --- src/Floating.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/Floating.cpp b/src/Floating.cpp index 03bde1f..8309e79 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_; }