Typo in jQuery pattern docs
This commit is contained in:
parent
e67903d134
commit
e7a9df784c
1 changed files with 1 additions and 1 deletions
|
|
@ -76,7 +76,7 @@ inside a `script` block here where different rules apply.
|
||||||
In HTML the `script` tag is declared `CDATA` which means that entities
|
In HTML the `script` tag is declared `CDATA` which means that entities
|
||||||
will not be parsed. Everything until ``</script>`` is handled as script.
|
will not be parsed. Everything until ``</script>`` is handled as script.
|
||||||
This also means that there must never be any ``</`` between the script
|
This also means that there must never be any ``</`` between the script
|
||||||
tags. ``|tojson`` is kindly enough to do the right thing here and
|
tags. ``|tojson`` is kind enough to do the right thing here and
|
||||||
escape slashes for you (``{{ "</script>"|tojson|safe }}`` is rendered as
|
escape slashes for you (``{{ "</script>"|tojson|safe }}`` is rendered as
|
||||||
``"<\/script>"``).
|
``"<\/script>"``).
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue