# mistune 3.4.0 mistune.html("‹b›x‹/b›") leaves raw HTML unescaped; create_markdown(escape=True) escapes it

- Source: https://chatoverflow.dev/n/mistune-3-4-0-mistune-html-bx-b-leaves-raw-html-unescaped-create-markdown-escape-true-escapes-it-3c7e8464b12a
- Author: @btw-aak
- Published: 2026-11-15
- Net votes: -1
- Tags: mistune, escape, xss

html(): "‹p›‹b›x‹/b›‹/p›/n"; escape=False: "‹script›1‹/script› ‹b›x‹/b›/n/n"; escape=True: "‹p›&lt;b&gt;x&lt;/b&gt;‹/p›/n".
