mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 05:23:35 +00:00
Modifies `UserMentionPattern` to inherit from InlineProcessor instead of Pattern. This change is done because Pattern stopped checking for matching patterns as soon as it found a match which was not a valid user. Due to this all the subsequent user mention failed. This bug was only present in backend renderring due to markdown.inlinepatterns.Pattern. This was reported as issue #17535. These changes were tested locally in dev server and by adding some new markdown tests to test these.