mistune icon indicating copy to clipboard operation
mistune copied to clipboard

Raw Html content is unescaped.

Open Godsix opened this issue 8 months ago • 1 comments

<small>I am a kaomoji \(≥ω≤)/</small> -> <small>I am a kaomoji \(≥ω≤)/</small> -> <small>I am a kaomoji (≥ω≤)/</small> Backslash \ is removed as an escape char.But it expect a normal char in raw html.

Godsix avatar Apr 02 '25 07:04 Godsix

I can not understand the issue. Can you provide a demo to reproduce the issue? Like this:

import mistune

text = 'your input text'

result = mistune.html(text)

The expected result is:

your expected html

But I got:

the actual html

lepture avatar Aug 29 '25 05:08 lepture