caged / d3-tip

d3 tooltips
http://labratrevenge.com/d3-tip
MIT License
1.22k stars 349 forks source link

Suggestion: Add a .text method for plain text tooltips #223

Open w0rp opened 6 years ago

w0rp commented 6 years ago

Sometimes you just want to display plain text in your tooltips, and doing so requires that you first escape your text before you use it for .html(). If you forget, you can introduce XSS security issues. It would be nice if there was a .text() method you could use instead, so you don't have to worry about escaping text yourself. This would be similar to .text() in JQuery.

stale[bot] commented 6 years ago

Hey there! It looks like this issue has been automatically marked as stale because it has not had recent activity. To help the maintainers stay focused, it will be closed if no further activity occurs. Thank you for your contributions.

w0rp commented 6 years ago

Here is some activity. Don't automatically close issues with a robot.

stale[bot] commented 6 years ago

Hey there! It looks like this issue has been automatically marked as stale because it has not had recent activity. To help the maintainers stay focused, it will be closed if no further activity occurs. Thank you for your contributions.

w0rp commented 6 years ago

Here is more activity.

stale[bot] commented 5 years ago

Hey there! It looks like this issue has been automatically marked as stale because it has not had recent activity. To help the maintainers stay focused, it will be closed if no further activity occurs. Thank you for your contributions.

w0rp commented 5 years ago

Here is more activity.

stale[bot] commented 5 years ago

Hey there! It looks like this issue has been automatically marked as stale because it has not had recent activity. To help the maintainers stay focused, it will be closed if no further activity occurs. Thank you for your contributions.

w0rp commented 5 years ago

Here is more activity.

SeppPenner commented 5 years ago

The library is no longer developed... https://github.com/Caged/d3-tip/issues/239#issuecomment-443053926.

w0rp commented 5 years ago

Maybe someone can fork it and work on a fork.

SeppPenner commented 5 years ago

I'm not a Javascript developer... Otherwise I could do that. Plus, I do not like to work with Javascript because it's ugly :D

stale[bot] commented 5 years ago

Hey there! It looks like this issue has been automatically marked as stale because it has not had recent activity. To help the maintainers stay focused, it will be closed if no further activity occurs. Thank you for your contributions.

w0rp commented 5 years ago

Here is more activity. :wink:

stale[bot] commented 5 years ago

Hey there! It looks like this issue has been automatically marked as stale because it has not had recent activity. To help the maintainers stay focused, it will be closed if no further activity occurs. Thank you for your contributions.

SeppPenner commented 5 years ago

More activity.

stale[bot] commented 4 years ago

Hey there! It looks like this issue has been automatically marked as stale because it has not had recent activity. To help the maintainers stay focused, it will be closed if no further activity occurs. Thank you for your contributions.

SeppPenner commented 4 years ago

Don't stale this!