diplodoc-platform / transform

Simple transformer YFM (Yandex Flavored Markdown) to HTML.
MIT License
50 stars 34 forks source link

HTML-encoded symbols are being parsed incorrectly #452

Open vadjs opened 6 days ago

vadjs commented 6 days ago

Good morning team,

Recently I've found that HTML-encoded symbols are being parsed incorrectly.

Example:

> Quote

> Quote

First case scenario will be parsed correctly. But the second scenario will be parsed incorrectly despite of being exactly same but HTML-encoded symbol. This is a common situation because some of the text editors/services converts some symbols into HTML-encoded ones.

I've managed to reproduce it only with quotes. But it can be the case with other rules as well.