// Specific floats for achemso.
else if (docbook_float_type_ == "figure" && achemso.find(floattype_) != achemso.end())
docbook_attr_ += " type='" + floattype_ + "'";
+
+ // Finally, merge in the attributes given in argument.
+ if (!docbookAttr.empty())
+ docbook_attr_ += " " + docbookAttr;
}
}
/// DocBook tag type (block, paragraph, inline)
mutable std::string docbook_tag_type_;
/// DocBook float type, to override float_type_ (figure, table, algorithm, video)
- mutable std::string docbook_float_type_;
+ std::string docbook_float_type_;
};