Auto escaping comes disabled by default for templatel-render-string but comes enabled by default for HTML and XML files in the function templatel-render-file. Control auto escaping with templatel-env-set-autoescape when an environment is created with templatel-env-new.
This refers to issue #4 and adds automatic escaping of HTML entities within text passed through variables to a template. e.g.:
It is also possible to locally disable the auto escaping using the
safe
filter:Auto escaping comes disabled by default for
templatel-render-string
but comes enabled by default for HTML and XML files in the functiontemplatel-render-file
. Control auto escaping withtemplatel-env-set-autoescape
when an environment is created withtemplatel-env-new
.