code span doesn't preserve space

weakish weakish at gmail.com
Wed Feb 9 08:29:15 EST 2011


Consider this code span: `grep ' '`. All implementations listed on
[babelmark](http://babelmark.bobtfish.net) just simply wrap it as:

<code>grep ' '</code>

Viewed in browsers, the above code is equivalent to:

<code>grep ' '</code>

I think spaces should be preserved in code span,which maintains consistence
with code block. For example, the following HTML code:

<code>grep '&nbsp;&nbsp;&nbsp; '</code>






More information about the Markdown-Discuss mailing list