Simplify CSS classes for floats.

Fixes bug #8605 and probably parts of #8755 and #9328.
This commit is contained in:
Richard Heck 2016-07-30 00:03:35 -04:00
parent f1cd24243f
commit 50c1391950

View File

@ -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_;
}