fletcher / MultiMarkdown-5

Reference implementation of MultiMarkdown; replaces MultiMarkdown v4 (deprecated -- see MMD-6 instead)
https://github.com/fletcher/MultiMarkdown-6
Other
294 stars 46 forks source link

Italics no longer works across multiple lines #10

Closed alecjacobson closed 8 years ago

alecjacobson commented 8 years ago

In multimarkdown 4.7.1, italics/emphasis would work even if the inner text spanned a newline character. For example:

printf "_Multiline\nitalics_" | multimarkdown

produced

<p><em>Multiline
italics</em></p>

Now, in version 5.0.1 this is broken, so that

printf "_Multiline\nitalics_" | multimarkdown

produces

<p>_Multiline
italics_</p>
alecjacobson commented 8 years ago

Now I'm a little confused. On Mac OS X with MultiMarkdown 4.7.1 installed via homebrew, italics works across newline. But installing MultiMarkdown 4.7.1 on Linux Ubuntu, I get the same behavior as MultiMarkdown 5.0.1 (italics does not work across newline). Could this really be OS dependent?

fletcher commented 8 years ago

Not sure what you're doing in regards to 4.7.1, but I pushed a fix for 5 to the develop branch (will be included in next official release, or you can build now).

Thanks!