Skip to content
Snippets Groups Projects
Commit 1db16e05 authored by ilor's avatar ilor
Browse files

Fix empty chunk processing in xces writer

parent 576ef503
No related branches found
No related tags found
No related merge requests found
......@@ -71,7 +71,10 @@ void XcesWriter::write_chunk(const Chunk &c)
}
write_sentence(*s);
}
if (use_indent_) indent_less();
if (new_chunk) { //no sentences in chunk
paragraph_head(c);
}
if (use_indent_ && !new_chunk) indent_less();
osi() << "</chunk>\n";
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment