thephpleague / html-to-markdown

Convert HTML to Markdown with PHP
MIT License
1.77k stars 205 forks source link

Change default italic character to `_` (#58) #59

Closed colinodell closed 9 years ago

colinodell commented 9 years ago

In CommonMark, both the single * and _ characters indicate emphasis. However, the rules for parsing those characters are slightly different. This is especially noticeable when combining empahsis and strong emphasis using the

This change produces the resulting Markdown you'd expect to see in such cases.