zulip/frontend_tests
Zixuan James Li a3a0103d86 markdown: Calculate linkifier precedence in topics.
This uses the linkifier index among the list of linkifiers in the
replacement as the priority to order the replacement order for
patterns in the topic. This avoids having multiple overlapping matches
that each produce a link.

The linkifier with the lowest id will be prioritized when its pattern
overlaps with another. Linkifiers are prioritized over raw URLs.

Note that the same algorithm is used for local echoing and the
backend markdown processor.

Fixes #23715.

Signed-off-by: Zixuan James Li <p359101898@gmail.com>
2022-12-13 15:16:20 -08:00
..
node_tests markdown: Calculate linkifier precedence in topics. 2022-12-13 15:16:20 -08:00
puppeteer_lib dependencies: Remove formdata-node, node-fetch. 2022-10-11 10:50:57 -07:00
puppeteer_tests Revert "drafts: Test that sending a drafted message deletes the draft." 2022-12-13 10:34:55 -08:00
zjsunit compose: Migrate compose_not_subscribed to use compose_banner. 2022-12-06 15:43:34 -08:00