kzykhys / Ciconia

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

Github newlines do not work, in case there's additional formatting on the next line #36

Open Xifax opened 10 years ago

Xifax commented 10 years ago

For example, the following markdown:

**Article**: description
**Another one**: something-something

Will result in:

Article: description Another one: something-something

On the other hand, the following will work as expected:

**Article**: description
Another one: something-something

Resulting in:

Article: description Another one: something-something

dereuromark commented 10 years ago

The regexp in both bold and italic InlineStyleExtension replacement seems to swallow those newline characters.