From 8993fe96b2bad2b3f2b929cb1a73ad987b63bb52 Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Thu, 27 May 2010 15:23:25 +0000 Subject: [PATCH] Escape quotes in module descriptions. Amazingly, this actually seems to work with no changes in the C++ code. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34528 a592a061-630c-0410-9148-cb99ea01b6c8 --- lib/configure.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/configure.py b/lib/configure.py index c79be8a9ca..d379f5b0eb 100644 --- a/lib/configure.py +++ b/lib/configure.py @@ -1107,6 +1107,8 @@ def processModuleFile(file, bool_docbook): if res != None: readingDescription = False desc = " ".join(descLines) + # Escape quotes. + desc = desc.replace('"', '\\"') continue descLines.append(line[1:].strip()) continue -- 2.39.2