Fix docbook export (bug 821)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_3_X@7122 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
José Matox 2003-06-06 13:04:47 +00:00
parent 89aacc6de5
commit 00b7951c4e
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2003-06-06 José Matos <jamatos@fep.up.pt>
* buffer.C (makeDocBookFile): fix bug #821
2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
* lyxtextclass.C (operator): remove caching (bug 1050)

View File

@ -2786,7 +2786,7 @@ void Buffer::makeDocBookFile(string const & fname, bool nice, bool only_body)
// environment tag closing
for (; depth > par->params().depth(); --depth) {
if (environment_inner[depth] != "!-- --") {
if (environment_inner[depth] != "!-- --" && !environment_inner[depth].empty()) {
item_name = "listitem";
sgml::closeTag(ofs, command_depth + depth, false, item_name);
if (environment_inner[depth] == "varlistentry")