Version 2.1.0
Features
- Added the
escapejsfilter for escaping characters for use in JavaScript string literals. Whereas the standardescapefilter replaces&,<,>,'and"with their equivalent HTML escape sequence,escapejsreplaces control characters and potentially dangerous symbols with their corresponding Unicode escape sequences.
Docs
- Improved documentation for HTML auto escaping and the
escapefilter.