Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
markdown: Fix overly loose regex for previews.
Steve Howell71c12e313cee
diff --git a/static/js/markdown.js b/static/js/markdown.jsindex 6f1fc478976..51109290b03 100644--- a/static/js/markdown.js+++ b/static/js/markdown.js@@ -34,7 +34,7 @@ const preview_regexes = [// Twitter and youtube links are given previews- /\S*(?:twitter|youtube).com\/\S*/,+ /\S*(?:twitter|youtube)\.com\/\S*/,];function contains_preview_link(content) {