Commit 59fcb19c authored by Xiaowu Zhang's avatar Xiaowu Zhang

erp5_web: add wendelin in replace list

parent a93801bd
......@@ -38,7 +38,7 @@ class ReplaceRelativeUrlTextDocument(TextDocument, object):
if new_link:
if new_link[0].isupper() or new_link.startswith('erp5-') or new_link.startswith('user-') or \
new_link.startswith('slapos-') or new_link.startswith('vifib-') or new_link.startswith('osoe-') or \
new_link.startswith('developer-') or new_link.startswith('slapOS'):
new_link.startswith('developer-') or new_link.startswith('slapOS') or new_link.startswith('wendelin-'):
transformed_link_tag = link_tag.replace(link, '%s/%s' % (web_section_url, new_link), 1)
html = html.replace(link_tag, transformed_link_tag)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment