mirror of
https://github.com/zulip/zulip.git
synced 2026-06-24 21:08:25 +08:00
After adding the ability to add stream links to messages using the following pattern '#**stream_name**' there was a problem with rendering this using our markdown engine because '**' means bold text so that would render just to bold text. To solve this I had to add regular expression in marked.js to match that pattern and when it matches I call handleStreamLinks in echo.js which will correctly render it to HTML. Fixes #2218. [tweaked by tabbott to url-encode the stream name in the URL and adding the missing "#" in the display]. |
||
|---|---|---|
| .. | ||
| marked.js | ||