nicksergeant/snipt

Inline HTML in Markdown not rendered

Closed this issue · 4 comments

When using Markdown, inline HTML is not being rendered.

I would appreciate this being looked into as a priority due to it being a rather restricting factor to the website considering markdown supporting this natively.

This appears to be an issue with our usage of https://github.com/trentm/django-markdown-deux (which uses https://github.com/trentm/python-markdown2/). The safe_mode parameter for python-markdown2 does not appear to allow a whitelisting of tags to be allowed (https://github.com/trentm/python-markdown2/wiki/Extras). It simply removes all inline HTML from the pre-rendered text.

I am guessing there is no way to resolve this issue then?

There is, but it would require ripping out the existing Markdown
processor and using something "closer to the metal", like
python-markdown2. I'll think about how we could do it.

Nick Sergeant
http://nicksergeant.com

On 08/11, Nathaniel Blackburn wrote:

I am guessing there is no way to resolve this issue then?


Reply to this email directly or view it on GitHub:
#107 (comment)