dcwatson / bbcode

A pure python bbcode parser and formatter.
BSD 2-Clause "Simplified" License
68 stars 17 forks source link

"Dash" symbols inside code block #27

Closed lampslave closed 6 years ago

lampslave commented 6 years ago

Dashes inside code block should remain unchanged, but in 1.0.26:

print(bbcode.render_html('[code]--[/code]'))
<code>&ndash;</code>

print(bbcode.render_html('[code]---[/code]'))
<code>&mdash;</code>
dcwatson commented 6 years ago

Thanks for the report, I just released 1.0.27 with the fix.

lampslave commented 6 years ago

Thank you!