You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For example, the text <h1>1. Hello world</h1> is copied to the Markdown output <h1>1. Hello world</h1>, rather than the proper escaped version \<h1\>1. Hello world\</h1\>. I've filed a bug to turndown, since it looks like they're responsible for the escaping: mixmark-io/turndown#395
The text was updated successfully, but these errors were encountered:
This is because if you don't have everything selected (to the closest parent), everything would be considered plain text.
<h1>1. Hello world</h1> out of context is considered plain text, not piece of code. This isn't a bug in turndown, but is a nice feature for this to see what the closest parent is and use that instead from the extensions end.
I haven't touched the codebase in over a year, and don't remember most of the internals, so I might be wrong at multiple levels. I'll have a look when possible, or feel free to yourself.
For example, the text
<h1>1. Hello world</h1>
is copied to the Markdown output<h1>1. Hello world</h1>
, rather than the proper escaped version\<h1\>1. Hello world\</h1\>
. I've filed a bug to turndown, since it looks like they're responsible for the escaping: mixmark-io/turndown#395The text was updated successfully, but these errors were encountered: