Jagster reported an inconsistency issue with HTML tags being stripped when using the “watch/replace” feature in Discourse, but not when writing directly. The issue arose when trying to replace “VO2max” with “VO2max” using the watch/replace feature.
david suggested that watched words might not be designed to handle HTML and proposed a workaround using Unicode subscript two (VO₂max) instead. Jagster found this difficult to implement on a mobile device.
david then suggested adding a watched word to replace “VO2max” with “VO ₂max”, which worked for Jagster.
sam shifted the discussion to #feature, acknowledging the consistency issue and suggesting that david’s workaround provides a suitable solution within current constraints.
I don’t know if this is a real bug. But Discourse is acting not so consistent, so? Basically this can be a feature/support/help-request too, so moderators/admins know what to do
It is easier to open what I was doing and what I got.
I was writing one running/training post and a term VO2max is boring to write. I could leave it like that, but it should be VO2max — I was using tag <sub></sub>
I love when things are easy and automated so I put it on watched list as simple VO2max and then it should replace with form VO<sub>2</sub>max.
You propably know what happened. Discourse changed it to form VO<sub>2</sub>max. And that’s why the post looked that way:
If/when Discourse will strip off HTML-tags should it happend everywhere, including excerps? Or does it come from topic preview, it is in use too.
And if excerpt can see pass coding, why a post can’t?
Actually, I don’t care if HTML-tags are showing or not depending are those here, there or everywhere but can we count situation where I can’t use HTML-tags with watch/replace, but I can use same tags directly at composer, as a bug? Because otherwise I’m off topic…
AFAIK a little bit difficult because I do most of my writings with iPad and Logitech keyboard — and difficult is in the meaning I know how to do that on my Win-laptop, but this small apple-style keyboard is quite demanding
Well, that HTML-tag is really minor thing, but replace should allow everything that is… allowed. But there can be some technically limitations too. And that can be the reason why we have to use something like Linkify to add automatic linking?