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

Ensure rendered html content gets allways marked as html_safe #65

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

thedarkside
Copy link

Fixing #64

So the problem is that read_fragment calls html_safe on the content string but save_fragment doesnt do that. So on the first call the content string gets piped to the renderer as unsafe and then it gets falsely escaped.

@heldopslippers
Copy link

nice fix! Working for me. Thanks @thedarkside!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants