]> git.lyx.org Git - features.git/blobdiff - src/Cursor.cpp
New InsetLayout tag ParbreakIgnored
[features.git] / src / Cursor.cpp
index 4e0dfb2234c6697ee7c021d803b77497056a0765..35a34527c0c48a3dee29e10c479c343bed867f46 100644 (file)
@@ -330,6 +330,8 @@ namespace {
 
 docstring parbreak(CursorData const * cur)
 {
+       if (cur->inset().getLayout().parbreakIgnored())
+               return docstring();
        odocstringstream os;
        os << '\n';
        // only add blank line if we're not in a ParbreakIsNewline situation