willmcgugan / postmarkup

Automatically exported from code.google.com/p/postmarkup

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Quote, color and text

GoogleCodeExporter opened this issue · comments

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

Thanks. Fixed in trunk.

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

  • Changed state: Fixed