pirave / postmarkup

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

Quote, color and text #15

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I have a problem with using quote, color and text tags in one document.

Here it is my code:
import postmarkup

value = """
[quote][color=#499de8]test color[/color]

some quote text[/quote]
"""
print postmarkup.render_bbcode(value)

I have in result:
<br/><blockquote><span style="color:#499de8">test color</span>some quote
text</blockquote>

I expect <br /> between "test color" and "some quote text".

Try to remove color tag or quote tag - everything is fine. Postmarkup will
add a <br />.

I have tested it on 1.1.4 and 1.1.5dev.

Thanks.

Original issue reported on code.google.com by AndrijSk...@gmail.com on 19 Oct 2009 at 1:30

GoogleCodeExporter commented 8 years ago
Thanks. Fixed in trunk.

Original comment by willmcgugan on 4 Jan 2011 at 5:29