mirror of
https://github.com/zulip/zulip.git
synced 2025-11-11 01:16:19 +00:00
Fix autolinkification in Zephyr mirrored content.
Apparently the "inline" treeprocessor is what runs the inline patterns. Also re-enable the rewriting-to-https support. (imported from commit 2fde2c1f15217a784f26b16db25ee745f424f2f0)
This commit is contained in:
@@ -386,4 +386,10 @@ class BugdownTest(TestCase):
|
||||
converted,
|
||||
"<p>* test</p>",
|
||||
)
|
||||
msg = "https://lists.debian.org/debian-ctte/2014/02/msg00173.html"
|
||||
converted = bugdown.convert(msg, "mit.edu/zephyr_mirror")
|
||||
self.assertEqual(
|
||||
converted,
|
||||
'<p><a href="https://lists.debian.org/debian-ctte/2014/02/msg00173.html" target="_blank" title="https://lists.debian.org/debian-ctte/2014/02/msg00173.html">https://lists.debian.org/debian-ctte/2014/02/msg00173.html</a></p>',
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user