A bug was reported where watched-word-links in user fields are incorrectly converted to HTML links, causing visual issues. Users nathank, jessii, JammyDodger, sam, MarcP, and Ahmed_Gagan detailed the problem, noting it affects custom user fields and persists even after updates. The issue was confirmed by multiple users, including nathank and MarcP, who highlighted its impact on profile displays. After investigation, loic and sam acknowledged the issue, and nat announced a fix was implemented in a PR (#20465), which resolved the problem. MarcP confirmed the fix after upgrading.
Hey @nathank – I really enjoy your posts, you always give a good amount of details for what you find!
I see something similar when I do this as well. I put ‘cow goes boo’ as a watched-word-link and when I add it to a user field it shows the full link. However, mine is also showing the first letter of the watched word too. Are you seeing that also? I changed the link, removed and added it to the link list again and it still shows ‘c’ in front of the link:
I’m afraid that the issue remains. To reproduce it you need the user field set to Show on public profile?. I was able to do this on a nearly vanilla site as well as my busy / laden with plugins normal site.
It occurs regardless of the case-sensitivity setting, and for Replace as well as Link (and probably the others, but I didn’t test them).
Hi @MarcP
I am testing this on the latest discourse branch test-passed but I am unable to reproduce the issue. Can you share which discourse version are you using?