urbit / landscape

Product board for Landscape.
20 stars 6 forks source link

Parsing of patp breaks for the rest of the message if a malformed patp is found #1505

Open lycurgus opened 1 year ago

lycurgus commented 1 year ago

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: image

To Reproduce Steps to reproduce the behavior:

  1. Go to a group chat
  2. Send a message like the above
  3. Note that mentions after a malformed one do not parse/render

Expected behavior Parsing should resume after a failed patp parse

Operating context

Additional context This is on Old Groups - raised it just in case it persists in Groups 2, which I haven't tried yet :)