Skip to content

Commit

Permalink
[3.0.x] Fixed #31171 -- Fixed wording in auto-escaping section of cus…
Browse files Browse the repository at this point in the history
…tom template tags docs.

Backport of 7356318 from master
  • Loading branch information
yukihira1992 authored and felixxm committed Jan 17, 2020
1 parent 5b6778b commit f0e1a69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/howto/custom-template-tags.txt
Original file line number Diff line number Diff line change
Expand Up @@ -772,7 +772,7 @@ auto-escaping filters (with the exception of
are still a couple of things you should keep in mind when writing a template
tag.

If the ``render()`` function of your template stores the result in a context
If the ``render()`` method of your template tag stores the result in a context
variable (rather than returning the result in a string), it should take care
to call ``mark_safe()`` if appropriate. When the variable is ultimately
rendered, it will be affected by the auto-escape setting in effect at the
Expand Down

0 comments on commit f0e1a69

Please sign in to comment.