I'm using the jinja safe filter in combination with the bleach library for sanitizing the user-input html. bleach lets us whitelist any html tags we want to allow. The safe filter then parses the html string into html. Conversation in issue #514 has more details.
Demo
See this screenshot, with the marked-up text and the unwanted Githubissues.
Githubissues is a development platform for aggregating issues.
For issue #514.
Also fixed something in the readme.
Notes
I'm using the jinja
safe
filter in combination with thebleach
library for sanitizing the user-input html.bleach
lets us whitelist any html tags we want to allow. Thesafe
filter then parses the html string into html. Conversation in issue #514 has more details.Demo
See this screenshot, with the marked-up text and the unwanted Githubissues.