r14515 by jghali - #8700: copy paste is broken if a style contains quotes in its names xml generated when copying is invalid if a style contains a quote in its name, fix that by escaping properly quotes written in attributes
scribus-commit
scribus-commit at lists.scribus.net
Mon Jan 11 20:35:37 CET 2010
Revision: 14515
Author: jghali
Date: 2010-01-11T06:13:20.292354Z
Commit message: #8700: copy paste is broken if a style contains quotes in its names
xml generated when copying is invalid if a style contains a quote in its name, fix that by escaping properly quotes written in attributes
Changeset:
M /trunk/Scribus/scribus/desaxe/saxXML.cpp
Diffs:
Index: scribus/desaxe/saxXML.cpp
===================================================================
--- scribus/desaxe/saxXML.cpp (revision 14514)
+++ scribus/desaxe/saxXML.cpp (revision 14515)
@@ -80,6 +80,7 @@
else
{
QString txt(Xml_data(it));
+ txt.replace("\"", """);
txt.replace("&", "&");
txt.replace("<", "<");
txt.replace(">", ">");
More information about the scribus-commit
mailing list