Hi Ross, * Alexander Neumann <alexan...@debian.org> wrote: > What is the state of and your plans regarding bug #564589[1]? > > Today this bug bit me, too. Could you please apply the supplied patch? This > would fix a serious malfunction of the package, and Fedora also ships the > patch[2]... > > [1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=564589 > [2] https://bugzilla.redhat.com/show_bug.cgi?id=633271
Meanwhile, two more year have passed. Any news here? The patch is attached to this mail. Please let me know if I can help, for example by NMUing a fixed package... Regards, - Alex
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
signature.asc
Description: Digital signature