Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion doc/filters/escape.rst
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,9 @@ documents:
* ``html``: escapes a string for the **HTML body** context,
or for HTML attributes values **inside quotes**.

* ``js``: escapes a string for the **JavaScript** context.
* ``js``: escapes a string for the **JavaScript** context. This is intended for
use in JavaScript or JSON strings, and encodes values using backslash escape
sequences.

* ``css``: escapes a string for the **CSS** context. CSS escaping can be
applied to any string being inserted into CSS and escapes everything except
Expand Down
Loading