d3-tip icon indicating copy to clipboard operation
d3-tip copied to clipboard

Suggestion: Add a .text method for plain text tooltips

Open w0rp opened this issue 7 years ago • 17 comments

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.

w0rp avatar Apr 27 '18 09:04 w0rp

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.

stale[bot] avatar Jul 26 '18 09:07 stale[bot]

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

w0rp avatar Jul 26 '18 10:07 w0rp

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.

stale[bot] avatar Oct 24 '18 11:10 stale[bot]

Here is more activity.

w0rp avatar Oct 24 '18 12:10 w0rp

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.

stale[bot] avatar Jan 23 '19 03:01 stale[bot]

Here is more activity.

w0rp avatar Jan 23 '19 10:01 w0rp

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.

stale[bot] avatar Apr 23 '19 11:04 stale[bot]

Here is more activity.

w0rp avatar Apr 23 '19 11:04 w0rp

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

SeppPenner avatar May 21 '19 12:05 SeppPenner

Maybe someone can fork it and work on a fork.

w0rp avatar May 21 '19 12:05 w0rp

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

SeppPenner avatar May 21 '19 12:05 SeppPenner

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.

stale[bot] avatar Aug 19 '19 13:08 stale[bot]

Here is more activity. :wink:

w0rp avatar Aug 19 '19 16:08 w0rp

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.

stale[bot] avatar Nov 17 '19 16:11 stale[bot]

More activity.

SeppPenner avatar Nov 17 '19 18:11 SeppPenner

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.

stale[bot] avatar Feb 15 '20 19:02 stale[bot]

Don't stale this!

SeppPenner avatar Feb 15 '20 21:02 SeppPenner