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

Title and description encoding in embedded views #36

Closed
dfeeney opened this Issue Sep 24, 2013 · 1 comment

Comments

Projects
None yet
2 participants
@dfeeney
Contributor

dfeeney commented Sep 24, 2013

Title and description need to be encoded when stuffed into the embedding script. For example, inserting a newline into the description will result in an invalid javascript file.

@zepheiryan

This comment has been minimized.

Show comment
Hide comment
@zepheiryan

zepheiryan Feb 28, 2014

Contributor

I believe #72 addresses this. It uses {{ title|linbreaksbr|safe }} to render the title and description with newlines as <br> tags and everything else into HTML entities.

Contributor

zepheiryan commented Feb 28, 2014

I believe #72 addresses this. It uses {{ title|linbreaksbr|safe }} to render the title and description with newlines as <br> tags and everything else into HTML entities.

@dfeeney dfeeney closed this Mar 10, 2014

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