tags 564589 + pending
thanks

Dear Ross,

I've prepared an NMU for kid (versioned as 0.9.6-2.1) and
uploaded it to DELAYED/10. Please feel free to tell me if I
should delay it longer.

Regards,
Alex
diff -Nru kid-0.9.6/debian/changelog kid-0.9.6/debian/changelog
--- kid-0.9.6/debian/changelog	2013-01-23 11:53:45.000000000 +0100
+++ kid-0.9.6/debian/changelog	2013-01-23 11:53:45.000000000 +0100
@@ -1,3 +1,10 @@
+kid (0.9.6-2.1) unstable; urgency=low
+
+  * Non-Maintainer upload
+  * Added escape_cdata patch (Closes: #564589)
+
+ -- Alexander Neumann <alexan...@debian.org>  Wed, 23 Jan 2013 11:45:08 +0100
+
 kid (0.9.6-2) unstable; urgency=low
 
   [ Piotr Ożarowski ]
diff -Nru kid-0.9.6/debian/patches/escape_cdata.patch kid-0.9.6/debian/patches/escape_cdata.patch
--- kid-0.9.6/debian/patches/escape_cdata.patch	1970-01-01 01:00:00.000000000 +0100
+++ kid-0.9.6/debian/patches/escape_cdata.patch	2013-01-23 11:53:45.000000000 +0100
@@ -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("&", "&amp;")
+             text = text.replace("<", "&lt;")
++            text = text.replace("]]>", "]]&gt;")
+         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("&", "&amp;")
+             text = text.replace("<", "&lt;")
++            text = text.replace("]]>", "]]&gt;")
+             text = text.replace("\"", "&quot;")
+         except (TypeError, AttributeError):
+             raise_serialization_error(text)
+@@ -684,6 +686,7 @@ class HTMLSerializer(HTMLBased, Serializ
+             if escape:
+                 text = text.replace("&", "&amp;")
+                 text = text.replace("<", "&lt;")
++                text = text.replace("]]>", "]]&gt;")
+         except (TypeError, AttributeError):
+             raise_serialization_error(text)
+         return text

Attachment: signature.asc
Description: Digital signature

Reply via email to