Reply text displays HTML when replying to a message that starts with a mention

When someone replies to a message that started with a mention it displays the HTML as part of that reply.

For example, note the <a class="mention" href="/u/simon_tomes">@simon_tomes</a> part of the reply.

I’d expect it to just display @simon_tomes and then the rest of the original message.

6 Likes

Thanks for the report Simon! Our code wizards are on it :mage:

1 Like

Excellent, thanks! Go Code Wizards! :mage:

1 Like

Hi, yes we are focused on shipping good support for threads and will improve this after, it’s 100% on our roadmap.

3 Likes

In the chat, if you mention someone, have at least one message in between, and then have someone (or yourself) reply to the message with the mention, the reply will show something like <a class="mention" href="/u/firepup650">@Firepup650</a> instead of the mention. Including < and/or > in your message will become &lt; and &gt;. This seems to be a recent change, and seems a bit unintentional, because if your message is just a mention, it works fine, but any other text in the message will cause it to become HTML in replies.

4 Likes

I think this is the same as this open bug topic @Firepup650, so I’ve slipped your post over here to keep the reports grouped together. :+1:

5 Likes

This does seem to apply even if the mention isn’t at the beginning of the message, and it applies to group mentions as well.

2 Likes

This one appears to have regressed. I’ve just spotted a reply that includes HTML.

1 Like

Thanks for the reports, the issue will be fixed by this commit:

4 Likes