crosstype / node-html-markdown

Fast HTML to markdown converter for NodeJS or the browser
163 stars 28 forks source link

Incorrect italic parsing #44

Closed emilmuller closed 1 year ago

emilmuller commented 1 year ago

Hi

I found this:

<p>H<em>ell</em>o, World!</p>

Should not translate to H_ell_o World!, but rather H*ell*o, World!

Kind regards, Emil

nonara commented 1 year ago

Hi Emil. Thank you for the report.

It is set that way by design, but you can configure the delimiter by changing emDelimiter to *. See the options section of the help.