Simplify CSS classes for floats.

Fixes bug #8605 and probably parts of #8755 and #9328.

(cherry picked from commit 50c1391950)
This commit is contained in:
Richard Heck 2016-07-30 00:03:35 -04:00
parent 98d4fba57b
commit 199e63fa19
2 changed files with 3 additions and 1 deletions

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

View File

@ -97,6 +97,8 @@ What's new
- Fix output of floats, etc, inside environments (bug 9094).
- Simplify XHTML output for floats, etc (bug 8605).
- Add "dir='auto'" to body tag, which should help a lot with export of
RTL languages (bug 8279, partly).