From 199e63fa19aec5b490e08ba05f7a7948dca66e2f Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Sat, 30 Jul 2016 00:03:35 -0400 Subject: [PATCH] Simplify CSS classes for floats. Fixes bug #8605 and probably parts of #8755 and #9328. (cherry picked from commit 50c139195083120fb79a215d21cedda516a3451c) --- src/Floating.cpp | 2 +- status.22x | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) 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_; } diff --git a/status.22x b/status.22x index 89fd9173a2..1b4b5762ec 100644 --- a/status.22x +++ b/status.22x @@ -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).