cboettig / knitcitations

:package: Generate citations for knitr markdown and html files
http://carlboettiger.info
Other
220 stars 28 forks source link

Tooltip should render HTML markup #37

Closed cboettig closed 11 years ago

cboettig commented 11 years ago

Bug reported here: https://github.com/cboettig/labnotebook/issues/90

Looks like I just need to generate html syntax for the tooltip, and then set data-html="true" http://stackoverflow.com/questions/13704789/can-i-use-complex-html-with-twitter-bootstraps-tooltip

cboettig commented 11 years ago

Closed by 6073e0cfdaa59328abad8eb8bb8804754e556ccc

cboettig commented 11 years ago

Looks like this should work if the html tags are all escaped. Should be a CGI escape filter function call for that I can just swap in...

cboettig commented 11 years ago

This would work for twitter-bootstrap tooltips but not for browser-based tooltips (#43) anyway. No need to provide html in a tooltip, does not seem standard practice (and may indeed be a security risk). #wontfix this one.