[Python-modules-commits] r33884 - in packages/kid/trunk/debian (2 files)
stefanor at users.alioth.debian.org
stefanor at users.alioth.debian.org
Wed Aug 19 19:06:32 UTC 2015
Date: Wednesday, August 19, 2015 @ 19:06:32
Author: stefanor
Revision: 33884
There was an NMU
Added:
packages/kid/trunk/debian/patches/escape_cdata.patch
Modified:
packages/kid/trunk/debian/changelog
Modified: packages/kid/trunk/debian/changelog
===================================================================
--- packages/kid/trunk/debian/changelog 2015-08-19 19:04:03 UTC (rev 33883)
+++ packages/kid/trunk/debian/changelog 2015-08-19 19:06:32 UTC (rev 33884)
@@ -4,6 +4,13 @@
-- Jakub Wilk <jwilk at debian.org> Sun, 05 May 2013 16:01:06 +0200
+kid (0.9.6-2.1) unstable; urgency=low
+
+ * Non-Maintainer upload
+ * Added escape_cdata patch (Closes: #564589)
+
+ -- Alexander Neumann <alexander at debian.org> Wed, 23 Jan 2013 11:45:08 +0100
+
kid (0.9.6-2) unstable; urgency=low
[ Piotr Ożarowski ]
Added: packages/kid/trunk/debian/patches/escape_cdata.patch
===================================================================
--- packages/kid/trunk/debian/patches/escape_cdata.patch (rev 0)
+++ packages/kid/trunk/debian/patches/escape_cdata.patch 2015-08-19 19:06:32 UTC (rev 33884)
@@ -0,0 +1,27 @@
+diff -up kid-0.9.6/kid/serialization.py.escape-gt kid-0.9.6/kid/serialization.py
+--- kid-0.9.6/kid/serialization.py.escape-gt 2007-07-16 13:02:53.000000000 +0200
++++ kid-0.9.6/kid/serialization.py 2010-01-10 14:42:09.000000000 +0100
+@@ -408,6 +408,7 @@ class XMLSerializer(Serializer):
+ return encode_entity(text, entities=entity_map)
+ text = text.replace("&", "&")
+ text = text.replace("<", "<")
++ text = text.replace("]]>", "]]>")
+ except (TypeError, AttributeError):
+ raise_serialization_error(text)
+ return text
+@@ -423,6 +424,7 @@ class XMLSerializer(Serializer):
+ return encode_entity(text, entities=entity_map)
+ text = text.replace("&", "&")
+ text = text.replace("<", "<")
++ text = text.replace("]]>", "]]>")
+ text = text.replace("\"", """)
+ except (TypeError, AttributeError):
+ raise_serialization_error(text)
+@@ -684,6 +686,7 @@ class HTMLSerializer(HTMLBased, Serializ
+ if escape:
+ text = text.replace("&", "&")
+ text = text.replace("<", "<")
++ text = text.replace("]]>", "]]>")
+ except (TypeError, AttributeError):
+ raise_serialization_error(text)
+ return text
More information about the Python-modules-commits
mailing list