[LyX/master] Fix bug #8741

Richard Kimberly Heck rikiheck at lyx.org
Thu Jul 27 02:55:29 UTC 2023


commit f393e6d219c07990875ea56a09421aa77e43daf4
Author: Richard Kimberly Heck <rikiheck at lyx.org>
Date:   Thu Jul 27 00:09:26 2023 -0400

    Fix bug #8741
---
 src/BiblioInfo.cpp |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/src/BiblioInfo.cpp b/src/BiblioInfo.cpp
index 1464e70..29ade83 100644
--- a/src/BiblioInfo.cpp
+++ b/src/BiblioInfo.cpp
@@ -378,6 +378,12 @@ docstring convertLaTeXCommands(docstring const & str)
 			continue;
 		}
 
+		if (ch == '~') {
+			ret += ' ';
+			val = val.substr(1);
+			continue;
+		}
+
 		if (ch == '$') {
 			ret += ch;
 			val = val.substr(1);


More information about the lyx-cvs mailing list