landscape
landscape copied to clipboard
Parsing of patp breaks for the rest of the message if a malformed patp is found
Describe the bug Typing text that looks like patp but isn't, breaks subsequent patp parsing in the message. E.g. the content:
~sampel-palnet ~sampel-notvalid ~sampel-sampel
will only render the first patp as a link/mention.
Screenshot:

To Reproduce Steps to reproduce the behavior:
- Go to a group chat
- Send a message like the above
- Note that mentions after a malformed one do not parse/render
Expected behavior Parsing should resume after a failed patp parse
Operating context
- Device: Dell XPS 9550
- OS: Windows 11
- Browser: Firefox 107
- Landscape Version:
0v1r.rjcef.sdu8l.15orr.dl5ie.r47ep.esf8n.as1cu.sbdlb.aq220.46ooa(hash of%landscapedesk)
Additional context This is on Old Groups - raised it just in case it persists in Groups 2, which I haven't tried yet :)