zulip/zerver/lib/bugdown
Kevin Mehall 8c7f1ecffa bugdown: Don't generate garbage on invalid links.
LinkPattern returned a string which contained a placeholder if the URL was
considered invalid. AtomicLinkPattern wrapped this in an AtomicString,
where the placeholder doesn't get removed properly.

m.group(0) is always incorrect because python-markdown modifies your regex
to include more than you specified (this is why part of the message got
duplicated).

(imported from commit 576bdf09c2b677cf4bc56484c363eb05f2110158)
2013-09-18 16:22:13 -04:00
..
__init__.py bugdown: Don't generate garbage on invalid links. 2013-09-18 16:22:13 -04:00
codehilite.py [manual] Rename Django app from zephyr to zerver. 2013-08-06 07:39:36 -04:00
fenced_code.py bugdown: Allow block-level block quotes 2013-09-05 17:34:28 -04:00
testing_mocks.py [manual] Rename Django app from zephyr to zerver. 2013-08-06 07:39:36 -04:00
tlds-alpha-by-domain.txt [manual] Rename Django app from zephyr to zerver. 2013-08-06 07:39:36 -04:00