]> git.phdru.name Git - bookmarks_db.git/commitdiff
Avoid double-escaping.
authorOleg Broytman <phd@phdru.name>
Thu, 27 Dec 2007 19:31:26 +0000 (19:31 +0000)
committerOleg Broytman <phd@phdru.name>
Thu, 27 Dec 2007 19:31:26 +0000 (19:31 +0000)
git-svn-id: file:///home/phd/archive/SVN/bookmarks_db/trunk@133 fdd5c36f-1aea-0310-aeeb-c58d7e2b6c23

bkmk_objects.py

index 6cb12d933379e879b4f85904f76a3ac86ded9beb..cb6530369fa8c20d03619875dc08162933825766 100644 (file)
@@ -172,5 +172,6 @@ def break_tree(linear):
 
 def quote_title(title):
    if BKMK_FORMAT == "MOZILLA":
-      title = cgi.escape(title, 1).replace("'", "&#39;")
+      #title = cgi.escape(title, 1).replace("'", "&#39;")
+      title = title.replace("'", "&#39;")
    return title