Added support for named links so they will not changed during autolinks creation
This commit is contained in:
parent
1c189aeb98
commit
4b08c11f95
|
@ -80,7 +80,7 @@ def process_bodypage(body):
|
|||
ulist = re.compile(r'''(\t| +)~?-''')
|
||||
autolink = re.compile(r'''\b(?!\[\[) # Not starting with [[
|
||||
([A-Z][a-z]*[A-Z]+[a-z]+[a-zA-Z]*) # CamelCase
|
||||
(?!\]\])\b # Not ending with ]]
|
||||
(?!\]\]|\|)\b # Not ending with ]] or |
|
||||
''', re.VERBOSE)
|
||||
images = re.compile(r'''img="(.*?)"''')
|
||||
monospaced = re.compile(r'''##(.*?)##''')
|
||||
|
|
Loading…
Reference in New Issue