]> git.lyx.org Git - features.git/blobdiff - src/xml.cpp
Implement handling of row_flags for row breaking
[features.git] / src / xml.cpp
index e479eadeecafb9fc9f3591414d8716eef3ae8c59..7c614dac8bad4b0c88dd5a44fc00c0947b009703 100644 (file)
@@ -17,7 +17,6 @@
 #include "BufferParams.h"
 #include "Counters.h"
 #include "Layout.h"
-#include "OutputParams.h"
 #include "Paragraph.h"
 #include "Text.h"
 #include "TextClass.h"
@@ -837,7 +836,7 @@ void xml::openTag(XMLStream & xs, const std::string & tag, const docstring & att
 
 void xml::closeTag(XMLStream & xs, const docstring & tag, const std::string & tagtype)
 {
-       if (tag.empty() || tag == "NONE")
+       if (tag.empty() || tag == "NONE" || tag == "IGNORE")
                return;
 
        if (tag == "para" || tagtype == "paragraph") // Special case for <para>: always considered as a paragraph.