[LyX/2.4.1-devel] InsetInfo: no need to output + explicitly in a shortcut, it is already contained in the sequence.

Pavel Sanda sanda at lyx.org
Sun Jun 2 09:59:47 UTC 2024


commit b3d911ef578140ab126b04662dae688c6e8dc59c
Author: Thibaut Cuvelier <tcuvelier at lyx.org>
Date:   Sat May 18 19:41:44 2024 +0200

    InsetInfo: no need to output + explicitly in a shortcut, it is already contained in the sequence.
---
 src/insets/InsetInfo.cpp | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/src/insets/InsetInfo.cpp b/src/insets/InsetInfo.cpp
index 3048456e84..90f1620b0a 100644
--- a/src/insets/InsetInfo.cpp
+++ b/src/insets/InsetInfo.cpp
@@ -1589,9 +1589,6 @@ void xhtmlShortcutInfo(XMLStream & xs, const InsetInfoParams & params) {
 		} else {
 			xs << c;
 		}
-
-		if (i > 0 && i + 1 < sequence.length())
-			xs << from_ascii("+");
 	}
 
 	xml::closeTag(xs, "bdo", "inline");


More information about the lyx-cvs mailing list