]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetCaption.cpp
Fix bug #12795
[lyx.git] / src / insets / InsetCaption.cpp
index ad25ee36e87c9804f3bf876c0ccc4179ce08ed7d..e1ace0dc925b1c759b0b3eb410eac5c1e735133b 100644 (file)
@@ -311,7 +311,7 @@ docstring InsetCaption::xhtml(XMLStream & xs, OutputParams const & rp) const
                return docstring();
        InsetLayout const & il = getLayout();
        string const & tag = il.htmltag();
-       string attr = il.htmlattr();
+       string attr = il.htmlGetAttrString();
        if (!type_.empty()) {
                string const our_class = "float-caption-" + type_;
                size_t const loc = attr.find("class='");