# Lorsqu'un lien avec un mot surveillé se trouve dans un champ utilisateur, il est transformé en lien HTML (et cela a très mauvaise allure)

**URL:** <https://meta.discourse.org/t/when-a-watched-word-link-is-in-a-user-field-it-is-changed-to-the-html-link-and-it-looks-terrible/234460>\
**Category:** Bug\
**Tags:** watched-words\
**Created:** [Juillet 29, 2022, 10:01 UTC](https://meta.discourse.org/t/when-a-watched-word-link-is-in-a-user-field-it-is-changed-to-the-html-link-and-it-looks-terrible/234460 "2022-07-29T22:01:44Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)\
**Post date:** [Juillet 31, 2022, 10:49 UTC](https://meta.discourse.org/t/when-a-watched-word-link-is-in-a-user-field-it-is-changed-to-the-html-link-and-it-looks-terrible/234460/3 "2022-07-31T22:49:28Z")

</div>

@nbianca a récemment amélioré l’implémentation via :

> <https://github.com/discourse/discourse/pull/17590>
>
> The previous method for reused the PrettyText logic which applied the
> watched w…ord logic, but had the unwanted effect of cooking the text too.
> This meant that regular text values were converted to HTML.
> 
> Follow up to commit 5a4c35f62714d2d72bc0ee57a10e08116bdc476a.

Utilisez-vous la dernière version ?

---

_[View the full topic](https://meta.discourse.org/t/when-a-watched-word-link-is-in-a-user-field-it-is-changed-to-the-html-link-and-it-looks-terrible/234460)._
