Fix bug on handling < code

This commit is contained in:
stijnvanhoey 2017-10-03 18:53:20 +02:00
parent b998b9a77b
commit 06ed8fa8d3
2 changed files with 178 additions and 178 deletions

View File

@ -186,7 +186,7 @@ class DwcDigester(object):
url = inputstring.group()
return "<a href=\"{}\">{}</a>".format(url, url)
regx = "(http[s]?://[\w\d:#@%/;$()~_?\+-=\\\.&]*)(?<![\)\.])"
regx = "(http[s]?://[\w\d:#@%/;$()~_?\+-;=\\\.&]*)(?<![\)\.])"
return re.sub(regx, _handle_matched, text_with_urls)
def process_terms(self):

File diff suppressed because it is too large Load Diff