mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
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:
parent
35ee5f2040
commit
8993fe96b2
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user