Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | use "Jinja" instead of "Jinja2" | David Lord | 2019-10-23 | 1 | -30/+28 |
| | |||||
* | Merge branch '2.10.x' | David Lord | 2019-07-26 | 1 | -1/+1 |
|\ | |||||
| * | Merge branch '2.9.x' into docs | David Lord | 2019-07-26 | 1 | -4/+4 |
| |\ | |||||
| | * | fix linkcheck issuesdocs | David Lord | 2019-07-26 | 1 | -1/+1 |
| | | | |||||
| | * | modernize docs config, use pallets-sphinx-themes | David Lord | 2019-07-26 | 1 | -3/+3 |
| | | | |||||
* | | | Merge branch '2.10.x' | David Lord | 2019-07-20 | 1 | -2/+2 |
|\ \ \ | |/ / | |||||
| * | | docs: Python3-ize the examples | Deepak Amin | 2019-05-31 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | This commit updates the examples to conform to Python 3 instead of Python 2, as Python 3 is more acceptable these days. | ||||
* | | | Fix "duplicate object description of jinja2" warning | jab | 2019-06-05 | 1 | -0/+1 |
| | | | | | | | | | | | | Follow suggestion to use :noindex: for the instance in api." | ||||
* | | | Add ChainableUndefined allowing getattr & getitem (#997) | Étienne Pelletier | 2019-05-08 | 1 | -1/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add ChainableUndefined allowing getattr & getitem Allows using default values with chains of items or attributes that may contain undefined values without raising a jinja2.exceptions.UndefinedError. >>> import jinja2 >>> env = jinja2.Environment(undefined=jinja2.ChainableUndefined) >>> env.from_string("{{ foo.bar['baz'] | default('val') }}").render() 'val' * Remove class decorator from ChainableUndefined | ||||
* | | | Fix typo | Ruben Garcia | 2019-02-08 | 1 | -1/+1 |
| | | | |||||
* | | | Fix broken nl2br filter example | Mark Amery | 2018-11-25 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | This example attempts to handle both Windows-style and Unix-style line endings, but does it wrong; as noted at https://stackoverflow.com/q/12521127/1709587, the regex here will match a single \r\n as if it were a double line-break, which results in all single Windows-style line-breaks getting converted into <p> breaks instead of <br> breaks as intended. This patch fixes that by applying Alan Moore's proposed fix from https://stackoverflow.com/a/12521544/1709587 of using a negative lookahead so that a \r cannot be counted as a line break if it is followed by a \n (while still allowing the \r\n combination to count as a line break). | ||||
* | | | Trim trailing white space throughout the project | Jon Dufresne | 2018-08-29 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | | | | Many editors clean up trailing white space on save. By removing it all in one go, it helps keep future diffs cleaner by avoiding spurious white space changes on unrelated lines. | ||||
* | | | Fixes 'awaitable' typo in api.rst | Frank Sachsenheim | 2018-05-11 | 1 | -1/+1 |
| | | | |||||
* | | | Fix small typo | nwalsh1995 | 2018-04-17 | 1 | -1/+1 |
| | | | |||||
* | | | Trivial typos | Unknown | 2017-11-08 | 1 | -1/+1 |
|/ / | | | | | Most non-user facing. | ||||
* | | Add support for `{% trans trimmed ... %}` | Adrian Moennich | 2017-07-03 | 1 | -0/+7 |
| | | | | | | | | | | | | | | Same behavior as in Django: All linebreaks and the whitespace surrounding linebreaks are replaced with a single space. closes #504 | ||||
* | | Add docs for namespace functionality | Adrian Moennich | 2017-06-24 | 1 | -0/+2 |
| | | |||||
* | | In documentation, prefer https over http when available | Jon Dufresne | 2017-04-09 | 1 | -1/+1 |
|/ | |||||
* | Fix typo (#687) | Daniel van Flymen | 2017-03-01 | 1 | -1/+1 |
| | |||||
* | Allow to reconfigure the default for truncate leeway | Armin Ronacher | 2017-01-10 | 1 | -0/+6 |
| | | | | Refs #610 | ||||
* | Updated docs on autoescaping and made select_autoescape case insensitive | Armin Ronacher | 2017-01-07 | 1 | -16/+33 |
| | |||||
* | Move the autoescape extension and with statement to be built-in | Armin Ronacher | 2017-01-07 | 1 | -7/+8 |
| | |||||
* | Add a policy for the ascii literal behavior. Fixes #392 | Armin Ronacher | 2017-01-07 | 1 | -0/+10 |
| | |||||
* | Ported tojson filter. Fixes #458 | Armin Ronacher | 2017-01-06 | 1 | -0/+12 |
| | |||||
* | Added docs for policies | Armin Ronacher | 2016-12-31 | 1 | -0/+29 |
| | |||||
* | Started doc work for async | Armin Ronacher | 2016-12-28 | 1 | -0/+40 |
| | |||||
* | Fixed typo/grammar error (#532) | Kojo Idrissa | 2016-04-10 | 1 | -1/+1 |
| | |||||
* | Fix typo (#531) | Guillaume Paumier | 2016-04-10 | 1 | -1/+1 |
| | |||||
* | Fix typo | Éric Araujo | 2015-06-01 | 1 | -1/+1 |
| | |||||
* | Let the Environment override the Context | ThiefMaster | 2015-04-06 | 1 | -0/+7 |
| | | | | closes #404 | ||||
* | Let the Environment override the CodeGenerator | ThiefMaster | 2015-04-06 | 1 | -0/+6 |
| | | | | see #404 | ||||
* | Fix a few small typos in the docs | Alex Chan | 2015-04-05 | 1 | -2/+2 |
| | |||||
* | Custom Filters example inserts escaped <br>s | Jörn Hees | 2014-06-15 | 1 | -1/+1 |
| | | | The example nl2br custom filter inserts escaped `<br>` <br> tags as a `Markup.replace` method seems to be aware of modifications and pass `str`/`unicode` arguments through `escape`. | ||||
* | Merge pull request #230 from p1otr/master | Armin Ronacher | 2014-06-10 | 1 | -2/+2 |
|\ | | | | | documentation typos | ||||
| * | fix a bunch of typos in the documentation | Jakub Wilk | 2013-05-25 | 1 | -2/+2 |
| | | |||||
* | | Merge pull request #293 from carldunham/docfix | Armin Ronacher | 2014-06-06 | 1 | -1/+1 |
|\ \ | | | | | | | fixed some typos and clarifying | ||||
| * | | fixed some typos and clarifying | Carl A Dunham | 2014-01-18 | 1 | -1/+1 |
| |/ | |||||
* | | Added tests for logging undefined and added it to the docs. | Armin Ronacher | 2014-06-06 | 1 | -0/+5 |
|/ | |||||
* | Added add_extension method to the public API | Armin Ronacher | 2011-09-26 | 1 | -1/+1 |
| | |||||
* | fixed typo in documentation: "environmentfilter" -> "evalcontextfilter" | Jeffrey Finkelstein | 2011-07-01 | 1 | -1/+1 |
| | |||||
* | Another reference | Armin Ronacher | 2011-01-29 | 1 | -1/+1 |
| | |||||
* | Added missing references to docs | Armin Ronacher | 2011-01-29 | 1 | -1/+4 |
| | |||||
* | three is the new two | Armin Ronacher | 2010-04-10 | 1 | -1/+1 |
| | | | | | --HG-- branch : trunk | ||||
* | autoescape no longer is a plain boolean value but can also be a function | Armin Ronacher | 2010-04-05 | 1 | -0/+32 |
| | | | | | | | | to enable or disable autoescaping for certain filenames (or file extensions for that matter) --HG-- branch : trunk | ||||
* | Hopefully fixed EvalContext documentation. | Armin Ronacher | 2010-03-15 | 1 | -1/+1 |
| | | | | | --HG-- branch : trunk | ||||
* | More documentation updates. | Armin Ronacher | 2010-03-15 | 1 | -0/+12 |
| | | | | | --HG-- branch : trunk | ||||
* | Documented autoescaping behavior and eval contexts. | Armin Ronacher | 2010-03-15 | 1 | -4/+63 |
| | | | | | --HG-- branch : trunk | ||||
* | Some tiny documentation fixes (unicode -> Unicode) | Armin Ronacher | 2010-02-09 | 1 | -9/+9 |
| | | | | | --HG-- branch : trunk | ||||
* | include tags are now able to select between multiple templates | Armin Ronacher | 2010-01-14 | 1 | -1/+4 |
| | | | | | | | | and take the first that exists, if a list of templates is given. --HG-- branch : trunk | ||||
* | Added the `meta` module. | Armin Ronacher | 2009-07-26 | 1 | -0/+14 |
| | | | | | --HG-- branch : trunk |