Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

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.

+2
−0

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:

tag guidance snapshot

However in the hover text in tagged questions it appears not rendered, i.e. as &phi;, as you can see here:

hover text snapshot

Can you reproduce this? If it is not something related to my browser, it's probably a bug.

History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.
Why should this post be closed?

0 comment threads

2 answers

+2
−0

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.

History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.

1 comment thread

Thanks for the explanation. I'll refrain to enter HTML entities in guidance text in the future. A... (1 comment)
+1
−0

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 &phi; 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.

History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.

0 comment threads

Sign up to answer this question »