[LyX/master] InsetIndex: improve formatting of resulting XHTML

Thibaut Cuvelier tcuvelier at lyx.org
Sat Nov 19 22:26:50 UTC 2022


commit e9f21f2e83b9ecb03ec1bec02a97931d81842e49
Author: Thibaut Cuvelier <tcuvelier at lyx.org>
Date:   Sun Nov 20 00:12:06 2022 +0100

    InsetIndex: improve formatting of resulting XHTML
    
    There was no line feed before the closing </li> for entries, which was inconsistent with the other block tags.
---
 src/insets/InsetIndex.cpp |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/insets/InsetIndex.cpp b/src/insets/InsetIndex.cpp
index 54757a7..181c99b 100644
--- a/src/insets/InsetIndex.cpp
+++ b/src/insets/InsetIndex.cpp
@@ -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()) {


More information about the lyx-cvs mailing list