]> git.lyx.org Git - features.git/commitdiff
InsetIndex: improve formatting of resulting XHTML
authorThibaut Cuvelier <tcuvelier@lyx.org>
Sat, 19 Nov 2022 23:12:06 +0000 (00:12 +0100)
committerThibaut Cuvelier <tcuvelier@lyx.org>
Sat, 19 Nov 2022 23:14:43 +0000 (00:14 +0100)
There was no line feed before the closing </li> for entries, which was inconsistent with the other block tags.

src/insets/InsetIndex.cpp

index 54757a7a978907012f61e41f69cda213da7967f7..181c99b43eef50b2dbd5dca11167806007e8a0de 100644 (file)
@@ -1783,6 +1783,7 @@ void outputIndexPage(XMLStream & xs, const IndexNode* root_node, unsigned depth
                        }
                        entry_number += 1;
                }
+               xs << xml::CR();
        }
 
        if (!root_node->entries.empty() && !root_node->children.empty()) {