plotly / plotly/plotly.R

HTML entities in hover text

Open
#733 10 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

plotly.js wontfix
Dominant language
R
Stars
2.7k
Forks
641
PR merge metrics
No merged PRs in 30d

Description

I am glad to see plotly 4.5.2 on CRAN, which I've installed. I am re-writing several functions to use the new argument structure - so far so good on that. I have a potential major problem though. I routinely put HTML markup inside hover text, including <span> <br> etc. and so far the hover text is showing the markup and not the formatted output as it did before the new version. Any help greatly appreciated.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the hover text behavior in plotly 4.5.2 using the reported HTML markup, including and
, and compare it with the earlier version. Done means the hover text renders the markup as formatted output instead of displaying the entities.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
data-visualization
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.