[LyX/master] Fix RELEASE-NOTES display in about dialog.

Georg Baum baum at lyx.org
Sat Sep 20 11:39:16 UTC 2025


commit 69b8638d23a5c238a857e172e635ef86dfd17e67
Author: Georg Baum <baum at lyx.org>
Date:   Sat Sep 20 13:29:52 2025 +0200

    Fix RELEASE-NOTES display in about dialog.
    
    The itemized lists using dashes were not recognized. Using a real
    parser would be better, but now is not the right time for that.
---
 src/frontends/qt/GuiAbout.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/frontends/qt/GuiAbout.cpp b/src/frontends/qt/GuiAbout.cpp
index 3a3ec1d521..b14a6ad991 100644
--- a/src/frontends/qt/GuiAbout.cpp
+++ b/src/frontends/qt/GuiAbout.cpp
@@ -155,7 +155,7 @@ static QString release_notes()
 					}
 					out << "<h2>" << line.mid(1) << "</h2>";
 				// lists
-				} else if (line.startsWith("* ")) {
+				} else if (line.startsWith("* ") || line.startsWith("- ")) {
 					if (inlist)
 						out << "</li>";
 					else


More information about the lyx-cvs mailing list