Commits

David Cramer committed 84b9d75

Disabling Auto links for now

  • Participants
  • Parent commits ee43f20

Comments (0)

Files changed (1)

File bbcode/bbtags/web.py

                               '%[a-f\d{2}])+=(?:[-\w~!$+|.,*:=]|%[a-f\d]{2})*)('
                               '?:&(?:[-\w~!$+|.,*:]|%[a-f\d{2}])+=(?:[-\w~!$+|.'
                               ',*:=]|%[a-f\d]{2})*)*)*(?#Anchor)(?:#(?:[-\w~!$+'
-                              '|.,*:=]|%[a-f\d]{2})*)?)(?P<after>[^[\]])', re.I)
+                              '|.,*:=]|%[a-f\d]{2})*)?)(?P<after>[^\s\[])', re.I)
     
     def parse(self):
         match = self.match.groupdict()
 register(Img)
 register(Email)
 register(Youtube)
-register(AutoDetectURL)
+# TODO: This breaks at least 50% of the time, needs fixed
+#register(AutoDetectURL)