The pattern for detecting URLs does not support custom ports - so
something like
http://localhost:8080 results in the following output:
<a ... href="
http://localhost" ...>
http://localhost</a>:8080
... while it should be:
<a ... href="
http://localhost:8080" ...>
http://localhost:8080</a>
It appears this might be easy to fix by extending the following line
from wikklytext.wiki.render:
if re.match(r"((http|https|file|ftp|gopher|mms|news|nntp|telnet)://[a-
zA-Z0-9~\$\-_\.\#\+\!%/]+)|(mailto:[a-zA-Z\._@]+)",
Something like the following perhaps (not extensively tested):
if re.match(r"((http|https|file|ftp|gopher|mms|news|nntp|telnet)://[a-
zA-Z0-9~\$\-_\.\#\+\!%/]+(:[0-9]+)?)|(mailto:[a-zA-Z\._@]+)",
-- F.