jinja icon indicating copy to clipboard operation
jinja copied to clipboard

A very fast and expressive template engine.

Results 150 jinja issues
Sort by recently updated
recently updated
newest added

updates: - [github.com/psf/black: 23.12.1 → 24.1.1](https://github.com/psf/black/compare/23.12.1...24.1.1)

`tojson` always escape `'` to `\u0027` even if `autoescape=False`, actually it also happens to ``, `&` ```python >>> import jinja2 >>> env = jinja2.Environment(autoescape=False) >>> t = env.from_string("{{ x|tojson }}")...

Hi, thanks for this foundational library. I'm using Jinja's trans tag and found that when the trans tag is immediately followed by a newline, and either `trim_blocks` or `ext.i18n.trimmed` are...

So I'm using the `int` filter with a default of `None` to filter out list items that look like numbers. It worked with the test data but broke as I...

I've fixed a bug that caused an f-string syntax error in the template compilation when a template, that imports a macro, contains curly braces in its name. The bug was...

Bumps [dessant/lock-threads](https://github.com/dessant/lock-threads) from 4.0.1 to 5.0.1. Release notes Sourced from dessant/lock-threads's releases. v5.0.1 Learn more about this release from the changelog. v5.0.0 Learn more about this release from the changelog....

dependencies

Replace `os.path.normpath` with `str(pathlib.Path())` which correctly fixes path separators when UNC path is provided. Tested that this code doesn't escape search dir, e.g.: ``` >>> str(pathlib.Path(posixpath.join("C:\\abc", "e:d\\ef"))) 'C:\\abc\\e:d\\ef' >>> str(pathlib.Path(posixpath.join("\\\\?\\C:\\abc",...

Hi everyone! I was studying Jinja and Flask with @JefersonViana , and noticed a typo in the docs about custom filters. I hope there is no need for creating an...

docs

Just a small update to avoid having to search for the project manually.