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
This commit is contained in:
Richard Heck 2010-05-27 15:23:25 +00:00
parent 35ee5f2040
commit 8993fe96b2

View File

@ -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