Fixed quoting "@username" when "username" exists > bad BBcode replacement

rebelde

Active member
If you have a username "cat" and another username "@cat", quoting @cat doesn't work right.
It shows the unparsed USER BBcode where it should not.

You can see it in this demo for a few days. Screenshot attached.

Thanks!
 

Attachments

  • Screen Shot 2017-03-27 at 2.33.40 PM.webp
    Screen Shot 2017-03-27 at 2.33.40 PM.webp
    14 KB · Views: 38
This is fixed now, though technically with a potential side effect (in an extreme edge case). We've disabled mention parsing in quote tags, which resolves this particular issue. It does mean that an @ reference in a quote tag won't be parsed, but that may even be more preferable in some cases. (Note that when you quote a mention, it has already been processed so it wouldn't be processed again anyway).
 
Back
Top Bottom