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

Django precise_bbcode not properly parsing contents of [code] tags? #21

Open
guiglass opened this issue Jun 20, 2018 · 0 comments
Open

Comments

@guiglass
Copy link

guiglass commented Jun 20, 2018

If I provide the input:
[code] for i in var: print(var[i]) [/code]

precise-bbcode does not actually format that line as code (and it remains as plain text).
This has been the case for over a year.

So after digging through the source I have found a few lines that after changing got things working correctly.

I have provided a fix for this issue here.

But I am unsure if this is the proper way to solve the issue.

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

1 participant