This repository has been archived by the owner on Jun 4, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 73
Allow HTML content in Markdown cells #915
Labels
Comments
(moved to the table repo and recast as a feature request) Dash-table uses Remarkable for its markdown, and by default Remarkable disables HTML input. I presume this is for security reasons, as untrusted HTML input often creates XSS vulnerabilities. We would, however, be comfortable exposing the ability to enable HTML input on an opt-in basis. This may be as simple as adding |
@alexcjohnson thank you so much for considering this! |
Hey @alexcjohnson - Thanks for the pointers - that worked great! 🍰
|
Quick note, also link_target as discussed here works now.
|
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Context
Describe the bug
I am not sure, if this is a bug or intended behaviour.
A Datatable column that presents Markdown can't render html snippets. In this case, I try to include an icon from the bootstrap font.
Expected behavior
A Data Table that present Markdown should be able to render html code, as it's encouraged by Markdown guidelines. If I directly edit the websites html, the icon can be displayed. So the font is included correctly.
Minimal example
app.py
Screenshots
![image](https://user-images.githubusercontent.com/1671175/122730074-209dfd00-d27a-11eb-96c4-1d462663e96b.png)
![image](https://user-images.githubusercontent.com/1671175/122730278-5642e600-d27a-11eb-9bea-bb547ba603fc.png)
Original Table
Edited Table (wanted result)
The text was updated successfully, but these errors were encountered: