Browse Source

Typo in jQuery pattern docs

pull/124/head
Dag Odenhall 15 years ago committed by Armin Ronacher
parent
commit
e7a9df784c
  1. 2
      docs/patterns/jquery.rst

2
docs/patterns/jquery.rst

@ -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
will not be parsed. Everything until ``</script>`` is handled as 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
``"<\/script>"``).

Loading…
Cancel
Save