changeset 74:9a2e35a7c19c

Also escape leading equal sign in questions / choices
author Andre Heinecke <andre.heinecke@intevation.de>
date Tue, 04 Oct 2016 17:12:02 +0200
parents a9bc9f907fcd
children 92139cc60121
files src/converter.cpp
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/converter.cpp	Tue Oct 04 17:11:17 2016 +0200
+++ b/src/converter.cpp	Tue Oct 04 17:12:02 2016 +0200
@@ -151,6 +151,9 @@
 
     unescapeRegex(str, imgEx);
     unescapeRegex(str, texEx);
+    if (str.startsWith("=")) {
+        str = " " + str;
+    }
 }
 
 void Converter::convertToXSLX(QTextStream& instream, QList<QFile *>outputs)
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)