diplodoc-platform / transform

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

HTML-encoded symbols are being parsed incorrectly #452

Open vadjs opened 4 months ago

vadjs commented 4 months 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.

3y3 commented 1 month ago

Are you expect that second example will be transformed to visually quoted text. This beheaviour is not expectable for MD.

Look like this two lines works in gh markdown editor:

Quote

> Quote