]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetLayout.cpp
This patch introduces an optional argument to Buffer::updateLabels(), so
[lyx.git] / src / insets / InsetLayout.cpp
index 41180c4a0cc356ad13baab91c8cbe4e70cdbba03..f2b701dfb8057f81bb21b03d0242a519b9cc0ec4 100644 (file)
@@ -354,7 +354,7 @@ InsetLayout::InsetLyXType translateLyXType(std::string const & str)
 string const & InsetLayout::htmltag() const
 {
        if (htmltag_.empty())
-               htmltag_ = "span";
+               htmltag_ = multipar_ ? "div" : "span";
        return htmltag_; 
 }