Vertical pipe (|) needs to be escaped
Closed this issue · 2 comments
linsui commented
|
in license or other item need to be escape as \|
.
linsui commented
I mean |
in markdown table need to be escape. For example
def fix_license(s):
""" @todo """
s = re.sub(r'-only', '', s, re.I)
s = re.sub(r'-or-later', '+', s, re.I)
s = re.sub(r'-Clause', '', s, re.I)
s = re.sub(r'\|', r'\|', s, re.I)
return s
Maybe the problem is when there is more than one license and a url, the identifier is not splited.
rasa commented
Yeah, I’m debugging now. Thanks for the heads up.