React-markdown: Enable escapeHTML by default

Created on 4 Oct 2016  路  3Comments  路  Source: remarkjs/react-markdown

Please enable escapeHTML by default on the component, a Markdown component should always have escapedHTML.

Most helpful comment

While I personally loathe HTML in Markdown, it is considered legal and "valid", and has fairly obvious use cases. From a quick glance, it doesn't look like other markdown renderers are escaping by default, either. I will however consider changing this default for the next major version.

All 3 comments

While I personally loathe HTML in Markdown, it is considered legal and "valid", and has fairly obvious use cases. From a quick glance, it doesn't look like other markdown renderers are escaping by default, either. I will however consider changing this default for the next major version.

Thanks, This will be a much appreciated enhancement. 馃憤

The new release candidate for v3 escapes HTML by default. Please read this issue for more information. Please give it a go and let me know if you encounter issues.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

neilyoung picture neilyoung  路  3Comments

guilhermecastro-hotmart picture guilhermecastro-hotmart  路  3Comments

d0lb33 picture d0lb33  路  3Comments

LinusU picture LinusU  路  3Comments

pcvandamcb picture pcvandamcb  路  3Comments