Title and description encoding in embedded views #36

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

Projects

None yet

2 participants

@dfeeney

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

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