pirave / postmarkup

Automatically exported from code.google.com/p/postmarkup
0 stars 0 forks source link

Line feeds are replaced with <br/> in CODE contents. #8

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
> What steps will reproduce the problem?
markup = postmarkup.create(use_pygments=False)
print markup('[code]foo\nbar[/code]')

> What is the expected output? What do you see instead?
I expect to see:
<div class="code"><pre>foo\nbar</pre></div>
but I see
<div class="code"><pre>foo<br/>bar</pre></div>

> What version of the product are you using? On what operating system?
trunk, rev. 14

Please provide any additional information below.

Original issue reported on code.google.com by lizen...@gmail.com on 20 Sep 2008 at 7:25

GoogleCodeExporter commented 8 years ago
My quick solution: http://dumpz.org/2593/

Original comment by lizen...@gmail.com on 20 Sep 2008 at 7:33

GoogleCodeExporter commented 8 years ago
Thanks. Fixed in SVN.

Original comment by willmcgugan on 23 Sep 2008 at 8:23