kzykhys / Ciconia

A New Markdown parser for PHP5.4
http://ciconia.kzykhys.com/
MIT License
355 stars 31 forks source link

Wrong underscore parsing #28

Closed joelcuevas closed 10 years ago

joelcuevas commented 10 years ago

Input:

under_score and under_score

Output:

<p>under<em>score and under</em>score</p>

Probably the _ should not be parsed if not is preceded by a blank space.

kzykhys commented 10 years ago

I didn't notice that... Anyways, I should add more tests.

Thanks a lot!