Files
zulip/web/tests
Kislay Verma fadbca1b72 composebox_typeahead: Avoid opening on multiline stream/topic names.
Since Zulip channel and topic names cannot
contain newlines, we should not show channel
or topic suggestions if the `#**stream>topic`
syntax is spread across multiple lines.

So we tweak the regexes to exclude \n.

We do not need to change the regexes in `marked.js`
or `markdown/__init.py__` since
the message text is already split at newlines
before being matched against those regexes,
so a newline will never be present during matching,
both in the frontend and the backend.
2025-01-10 09:21:06 -08:00
..