+2004-10-13 José Matos <jamatos@lyx.org>
+
+ * output_docbook.C (docbookParagraphs): fix closing tags in the end of the document.
+
2004-10-09 José Matos <jamatos@lyx.org>
* buffer.C: format up to 237.
// Close open tags
for (int d = depth; d >= 0; --d) {
if (!environment_stack[depth].empty()) {
- sgml::closeEnvTags(os, false, environment_inner[depth],
- item_tag, command_depth + depth);
+ sgml::closeEnvTags(os, false, environment_inner[d], item_tag, command_depth + d);
+ sgml::closeTag(os, d + command_depth, false, environment_stack[d]);
}
}