bugdown: Disable builtin 'autolink' feature

This only linkifies inside angle brackets, per

    print md.inlinePatterns['autolink'].getCompiledRegExp().pattern

We have our own linkification extension.

(imported from commit 20cab11aaafee075e0caf933d8d197717976988c)
This commit is contained in:
Keegan McAllister 2012-10-21 20:40:58 -04:00
parent 00a4da5f9b
commit 4a0cf8e608
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ class AutoLink(markdown.inlinepatterns.Pattern):
class Bugdown(markdown.Extension):
def extendMarkdown(self, md, md_globals):
for k in ('image_link', 'image_reference', 'automail'):
for k in ('image_link', 'image_reference', 'automail', 'autolink'):
del md.inlinePatterns[k]
for k in ('hashheader', 'setextheader'):