Commits

David Cramer committed 73f4d86

Disabled urlquote as the reason is unknown to me

  • Participants
  • Parent commits 240ab22

Comments (0)

Files changed (1)

File bbcode/bbtags/web.py

         else:
             css = ''
         raw_href = self.variables.resolve(href)
-        if raw_href.startswith('http://'):
-            href = raw_href[:7] + urllib.quote(raw_href[7:])
-        else:
-            href = urllib.quote(raw_href)
+        # XXX: this breaks links, what is its purpose?
+        # if raw_href.startswith('http://'):
+        #     href = raw_href[:7] + urllib.quote(raw_href[7:])
+        # else:
+        #     href = urllib.quote(raw_href)
         css = self.variables.resolve(css)
         return '<a href="%s"%s>%s</a>' % (href, css, inner)