Open bjones1 opened 1 year ago
I need this fixed. It will fix an issue in my projects.
I also just encountered this, would love to see it fixed. @martincizek @pavelhoral any chance you could take a look?
One more upvote for this PR (and a vouch for it—I tested this one locally and in the @11ty/import
project).
Current behavior is a bit dangerous as escaped HTML is converted to unescaped HTML in Turndown output.
See the issues linked below for a good description of the issue. Given readable text in HTML, which renders as
<iframe src="http://www.w3schools.com"></iframe>
, the correct Turndown translation is\<iframe src="http://www.w3schools.com">\</iframe>
, but the current behavior is<iframe src="http://www.w3schools.com"></iframe>
.Closes #106 Closes #261