Commit graph

30 commits

Author SHA1 Message Date
David Lord
d8259eb119
use Jinja name consistently 2025-08-19 10:43:16 -07:00
David Lord
9c02f07f9b
deprecate markupsafe exports 2023-02-23 08:55:01 -08:00
Jonah Lawrence
cc66213e57
Add .svg to select_jinja_autoescape (#4840)
As SVG files are a type of XML file and are similar in nearly 
all aspects to XML, .svg should also be autoescaped.
2022-10-30 14:55:51 +00:00
pgjones
46433e9807
add generate_template and generate_template_string functions 2022-06-18 12:20:53 -07:00
Frank Yu
5fa7d2efe7
Update templating.rst 2021-06-18 20:15:02 +08:00
David Lord
b473e7c97c
use Jinja's tojson filter 2021-02-01 22:48:09 -08:00
David Lord
171aabc87d
remove unused ref directives
replace page refs with doc directives
2020-04-04 12:57:14 -07:00
David Lord
2ae740dd49
f-strings everywhere 2020-04-04 12:10:00 -07:00
David Lord
037ae3f024
Merge remote-tracking branch 'origin/1.1.x' 2020-04-02 11:56:30 -07:00
mattc41190
1736e01ea0
Grammar and clarity fix 2020-03-25 09:20:55 -05:00
mattc41190
8fc723c7c2
itty bitty typo 2020-03-24 09:54:32 -05:00
Grey Li
ef434ea998
Replace old pocoo links everywhere
pocco.org -> palletsprojects.com
2019-11-19 09:32:35 -08:00
David Lord
cb6272ccc8
fix docks linkcheck 2019-06-23 15:37:51 -07:00
Mark Amery
24325ecb69
Clarify and add detail to tojson docs
Fix some confusing and obsolete prose.
2019-01-06 09:44:09 -08:00
Tony Narlock
66e9dc9df2 Add docutils label for templates page 2017-06-12 16:07:24 -05:00
wodim
4a8f3eacbb Fix typo in templating.rst 2015-11-04 12:00:44 +01:00
Alan Hamlett
99c99c4c16 Enable autoescape for render_template_string 2015-07-04 23:41:43 +02:00
defuz
d6f5eb8def docs: script -> `script` 2014-11-05 07:56:03 +03:00
lord63
92191fb9d9 Fix a typo in templating.rst 2014-07-14 15:07:52 +08:00
Daniel Neuhäuser
20edb3189c Fix Pocoo documentation links 2014-04-26 01:20:12 +02:00
Armin Ronacher
ef72b78042 Imply the |safe on tojson in templates and change escaping logic 2013-06-03 12:25:08 +01:00
Armin Ronacher
833198c91b Added a missing comma 2013-05-14 11:23:31 +01:00
soulseekah
3c54f30c2b missing ' in example
Results in SyntaxError: EOL while scanning string literal
2012-11-03 18:06:23 +06:00
Armin Ronacher
f34c028125 Added template tests and made config a true global 2012-10-08 07:01:49 +02:00
Ron DuPlain
a3cb2a3382 Use American English for "behavior" in docs.
Prompted by plaes on #pocoo, mitsuhiko confirmed to use American English.
2012-04-19 11:51:38 -04:00
Ron DuPlain
5a1bef4429 Demonstrate in docs how to use registered filters.
Requested by @plaes on #pocoo irc.
2012-02-01 18:03:32 -05:00
Ron DuPlain
8ef2ca99b9 Reword context processors for functions. 2012-02-01 18:03:29 -05:00
Priit Laes
d33f9990c8 Document context processors' variable functions 2012-02-01 14:58:44 +02:00
Ron DuPlain
6875a057ec Fixed small typos in docs. Added a cross-ref. 2010-10-07 19:32:07 +08:00
Armin Ronacher
4a2d2ba3b8 Added templating docs. This basically fixes #92 2010-07-18 01:30:28 +02:00