mirror of https://github.com/tdwg/dwc.git
Fix bug on handling < code
This commit is contained in:
parent
b998b9a77b
commit
06ed8fa8d3
|
@ -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
Loading…
Reference in New Issue