Commit Graph

3 Commits

Author SHA1 Message Date
Kislay Verma
32f9ee7a62 topic_link_util: Add [ and ] as characters to escape.
These characters cause the fallback markdown
links produced (#30071) to be broken.

Broken links are not produced when these are present
in `#**channel>topic**` syntax. It is only a problem
with the fallback markdown links.
2025-01-25 11:41:25 -08:00
Kislay Verma
8379f0cffb topic_link_util: Accept channel name instead of syntax text.
In the function `get_stream_topic_link_syntax`,
we used the typed syntax text to make out
the channel name and then use it to
generate the appropriate link syntax.
We change that to directly accepting the
channel name.

This is in preparation for #31420
2025-01-21 13:21:11 -08:00
Anders Kaseorg
687f1b1651 tests: Rename the Node tests to *.cjs.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-11-13 09:18:56 -08:00