Skip to content

Version 2.1.0

Choose a tag to compare

@jg-rp jg-rp released this 15 Aug 07:36
· 40 commits to main since this release

Features

  • Added the escapejs filter for escaping characters for use in JavaScript string literals. Whereas the standard escape filter replaces &, <, >, ' and " with their equivalent HTML escape sequence, escapejs replaces control characters and potentially dangerous symbols with their corresponding Unicode escape sequences.

Docs

  • Improved documentation for HTML auto escaping and the escape filter.