Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Dash" symbols inside code block #27

Closed
lampslave opened this issue Dec 15, 2017 · 2 comments
Closed

"Dash" symbols inside code block #27

lampslave opened this issue Dec 15, 2017 · 2 comments

Comments

@lampslave
Copy link

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
Copy link
Owner

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

@lampslave
Copy link
Author

Thank you!

BrianMcKeever added a commit to BrianMcKeever/bbcode that referenced this issue Dec 18, 2017
Don't replace cosmetic in code tags (fixes dcwatson#27)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants