X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetLayout.cpp;h=f2b701dfb8057f81bb21b03d0242a519b9cc0ec4;hb=996505c2ae981187d34580633fca410972c2493d;hp=41180c4a0cc356ad13baab91c8cbe4e70cdbba03;hpb=d62c5cf02e2b76eba8bb510924e69c7e222609a8;p=lyx.git diff --git a/src/insets/InsetLayout.cpp b/src/insets/InsetLayout.cpp index 41180c4a0c..f2b701dfb8 100644 --- a/src/insets/InsetLayout.cpp +++ b/src/insets/InsetLayout.cpp @@ -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_; }