Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff -ur Twisted-8.2.0.orig/twisted/words/xish/domish.py Twisted-8.2.0/twisted/words/xish/domish.py
- --- Twisted-8.2.0.orig/twisted/words/xish/domish.py 2008-10-29 23:17:26.000000000 +0300
- +++ Twisted-8.2.0/twisted/words/xish/domish.py 2009-07-24 16:50:03.000000000 +0400
- @@ -161,12 +161,6 @@
- @param isattrib: Triggers escaping of characters necessary for use as
- attribute values
- """
- - text = text.replace("&", "&")
- - text = text.replace("<", "<")
- - text = text.replace(">", ">")
- - if isattrib == 1:
- - text = text.replace("'", "'")
- - text = text.replace("\"", """)
- return text
- def unescapeFromXml(text):
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement