Commit f00b7d30 by Bridger Maxwell

Fixed bug where non-found wiki links ignored base url.

parent 533c7fc2
...@@ -91,7 +91,7 @@ class WikiPath(markdown.inlinepatterns.Pattern): ...@@ -91,7 +91,7 @@ class WikiPath(markdown.inlinepatterns.Pattern):
path = urlpath.get_absolute_url() path = urlpath.get_absolute_url()
else: else:
urlpath = None urlpath = None
path = "/" + path_from_link path = self.config['base_url'][0] + path_from_link
label = m.group('linkTitle') label = m.group('linkTitle')
a = etree.Element('a') a = etree.Element('a')
......
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