Skip to content

Commit 4cab2c6

Browse files
ifdatticxabbuh
authored andcommitted
Update templating.rst
Conflicts: book/templating.rst
1 parent de33824 commit 4cab2c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

book/templating.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1509,7 +1509,7 @@ use output escaping, use the special ``escape()`` view method:
15091509
Hello <?php echo $view->escape($name) ?>
15101510

15111511
By default, the ``escape()`` method assumes that the variable is being rendered
1512-
within a HTML context (and thus the variable is escaped to be safe for HTML).
1512+
within an HTML context (and thus the variable is escaped to be safe for HTML).
15131513
The second argument lets you change the context. For example, to output something
15141514
in a JavaScript string, use the ``js`` context:
15151515

0 commit comments

Comments
 (0)