r16401 by jghali - #9776 : duplicated styles due to special character in style name
scribus-commit
scribus-commit at lists.scribus.net
Sat Feb 26 00:06:49 CET 2011
Author: jghali
Date: Fri Feb 25 23:06:49 2011
New Revision: 16401
URL: http://scribus.info/websvn/listing.php?repname=Scribus&sc=1&rev=16401
Log:
#9776 : duplicated styles due to special character in style name
Modified:
trunk/Scribus/scribus/desaxe/saxXML.cpp
Modified: trunk/Scribus/scribus/desaxe/saxXML.cpp
URL: http://scribus.info/websvn/diff.php?repname=Scribus&rev=16401&path=/trunk/Scribus/scribus/desaxe/saxXML.cpp
==============================================================================
--- trunk/Scribus/scribus/desaxe/saxXML.cpp (original)
+++ trunk/Scribus/scribus/desaxe/saxXML.cpp Fri Feb 25 23:06:49 2011
@@ -80,8 +80,8 @@
else
{
QString txt(Xml_data(it));
+ txt.replace("&", "&");
txt.replace("\"", """);
- txt.replace("&", "&");
txt.replace("<", "<");
txt.replace(">", ">");
m_stream << " " << fromXMLString(Xml_key(it)) << "=\"" << fromXMLString(txt) << "\"";
More information about the scribus-commit
mailing list