r14514 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:21 CET 2010
Revision: 14514
Author: jghali
Date: 2010-01-11T06:12:55.767779Z
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 /branches/Version135/Scribus/scribus/desaxe/saxXML.cpp
Diffs:
Index: scribus/desaxe/saxXML.cpp
===================================================================
--- scribus/desaxe/saxXML.cpp (revision 14513)
+++ scribus/desaxe/saxXML.cpp (revision 14514)
@@ -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