mirror of https://github.com/zulip/zulip.git
a3a0103d86
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> |
||
---|---|---|
.. | ||
node_tests | ||
puppeteer_lib | ||
puppeteer_tests | ||
zjsunit |