basictabler icon indicating copy to clipboard operation
basictabler copied to clipboard

Treating cells as HTML elements

Open Mkranj opened this issue 1 year ago • 0 comments

Hi, I'm making a table where one column includes URL adresses. I'm displaying the table inside a Shiny app. Can I parse cell contents of that column (or specific cells) as valid HTML? E.g. '<a href="https://www.google.com/">https://www.google.com/</a>' should display as a link to Google.

Also, by using the $getHtml() method, I see that the cell contents look like this: &lt;a href="https://www.google.com/"&gt;https://www.google.com/&lt;/a&gt

Basically the < and > symbols are being interpreted literally, perhaps that is preventing the conversion to actual HTML?

Mkranj avatar May 24 '24 13:05 Mkranj