mirror of https://github.com/zulip/zulip.git
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:
parent
00a4da5f9b
commit
4a0cf8e608
|
@ -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'):
|
||||
|
|
Loading…
Reference in New Issue