string const & listName, std::string const & listCmd,
string const & refPrefix, std::string const & allowedplacement,
string const & htmlTag, string const & htmlAttrib,
- string const & htmlStyle, bool usesfloat, bool ispredefined,
+ docstring const & htmlStyle, bool usesfloat, bool ispredefined,
bool allowswide, bool allowssideways)
: floattype_(type), placement_(placement), ext_(ext), within_(within),
style_(style), name_(name), listname_(listName), listcommand_(listCmd),
string const & Floating::htmlAttrib() const
{
if (html_attrib_.empty())
- html_attrib_ = "class='float " + defaultCSSClass() + "'";
+ html_attrib_ = "class='" + defaultCSSClass() + "'";
return html_attrib_;
}
string Floating::defaultCSSClass() const
-{
+{
if (!defaultcssclass_.empty())
return defaultcssclass_;
string d;