GitbookIO / kramed

A markdown (kramdown compatible) parser and compiler. Built for speed. (Fork of marked)
MIT License
223 stars 47 forks source link

Trailing space not preserved in inline codeblock #39

Open CoDEmanX opened 8 years ago

CoDEmanX commented 8 years ago

Markdown (note the space after \t):

It defaults to `\r\n\t `

Generated markup:

It defaults to <code>\r\n\t</code>

The whitespace got removed, although it should be protected because it's inside the code snippet.