From: Oleg Broytman Date: Thu, 27 Dec 2007 19:31:26 +0000 (+0000) Subject: Avoid double-escaping. X-Git-Tag: v4.5.3~243 X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=af6a6f6d598d26de82fec73392aef29c06215159;p=bookmarks_db.git Avoid double-escaping. git-svn-id: file:///home/phd/archive/SVN/bookmarks_db/trunk@133 fdd5c36f-1aea-0310-aeeb-c58d7e2b6c23 --- diff --git a/bkmk_objects.py b/bkmk_objects.py index 6cb12d9..cb65303 100644 --- a/bkmk_objects.py +++ b/bkmk_objects.py @@ -172,5 +172,6 @@ def break_tree(linear): def quote_title(title): if BKMK_FORMAT == "MOZILLA": - title = cgi.escape(title, 1).replace("'", "'") + #title = cgi.escape(title, 1).replace("'", "'") + title = title.replace("'", "'") return title