Welcome to Codidact Meta!
Codidact Meta is the meta-discussion site for the Codidact community network and the Codidact software. Whether you have bug reports or feature requests, support questions or rule discussions that touch the whole network – this is the site for you.
Rendering bug of HTML entity in hover text for tags guidance.
There is a problem with HTML entities in the tag guidance text.
As you can see here I used an HTML entity (greek lowercase phi φ) to denote a technical quantity, and it shows nicely:
However in the hover text in tagged questions it appears not rendered, i.e. as φ
, as you can see here:
Can you reproduce this? If it is not something related to my browser, it's probably a bug.
2 answers
While ArtOfCode's answer explains that this is unlikely to be fixed in the near future, there is a workaround. If you decide that you need a character such as φ in the brief usage guidance that shows on hover, you can achieve this as follows:
Workaround
- Go to the bode-plot tag page.
- Copy the literal
φ
that you see in the usage guidance section. - Edit the usage guidance and replace the
φ
HTML entity with the literalφ
.
This will now show correctly in both the usage guidance section and the usage guidance that appears on hover. You can use the same approach for any other symbol that you would otherwise use an HTML entity for.
0 comment threads
This is something we either can't fix, or can't fix without significant effort. It's been a little while since I last checked what browser tooltips can do, but one thing they can't do is render HTML entities. That's up to your browser, not up to us. The way to fix it would be to use a custom tooltip, but we don't currently have the ability to do that.
The solution in this case is to move the paragraph containing that character into the tag's long wiki. The "usage guidance" section (which is what shows in that tooltip) is intended for exactly that — brief guidance on the usage of the tag. It's not intended for explanations of what the thing represented by the tag is — that's what the wiki is for.
0 comment threads