# Klassen die niet blijven hangen in HTML, bekeken woordvervangingen zijn inconsistent

**URL:** https://meta.discourse.org/t/classes-that-do-not-stick-in-html-watched-word-replacements-are-inconsistent/331030
**Category:** UX
**Created:** [15 oktober 2024 om 19:06 UTC](https://meta.discourse.org/t/classes-that-do-not-stick-in-html-watched-word-replacements-are-inconsistent/331030 "2024-10-15T19:06:59Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Firepup650](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/firepup650/32/465200_2.png) [@Firepup650](https://meta.discourse.org/u/Firepup650)
#### Post date: [15 oktober 2024 om 19:06 UTC](https://meta.discourse.org/t/classes-that-do-not-stick-in-html-watched-word-replacements-are-inconsistent/331030/1 "2024-10-15T19:06:59Z")

</div>

Partially as a joke, on our forum we wanted to have the word `spam` become a ping for the group `@spam`. However that doesn’t work as a replacement, and is only a link without the classes that I tried to add to it (Watched word: `spam -> <a class="mention-group notify" href="/groups/spam">@spam</a>` VS what actually replaces: `<a href="/groups/spam">@spam</a>`). This seems really inconsistent, when doing the same thing _works_ for user mentions (e.g. `fire -> <a class="mention" href="/u/firepup650">@firepup650</a>`).
