Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Split lines in lexer only by \r\n, \r and \n | Matěj Volf | 2021-04-05 | 1 | -5/+10 |
| | | | | | | | | | | | | Python str.splitlines() splits by more characters[1], which, however, causes problems when keeping these special characters in processed templates is desirable, i.e. these bug reports: #769, #952, #1313. The keep_trailing_newlines logic is reworked because splitlines() removes them already (so they had to be added), while re.split doesn't so they have to be removed. [1] https://docs.python.org/3/library/stdtypes.html#str.splitlines | ||||
* | parse hex, octal, and binary integer literals | Alex Mykyta | 2021-04-05 | 1 | -2/+17 |
| | |||||
* | ignore trim_blocks using '+%}' | Amy | 2020-06-22 | 1 | -4/+8 |
| | |||||
* | Merge branch '2.11.x' | David Lord | 2020-04-13 | 1 | -5/+8 |
|\ | |||||
| * | Fix unintended lstrip_blocks behavior. Fixes #1138 | Peter Dolak | 2020-04-13 | 1 | -5/+8 |
| | | | | | | | | | | Introduced in #858. Tests will follow, also results of performance testing. | ||||
* | | Merge branch '2.11.x' | David Lord | 2020-03-30 | 1 | -2/+6 |
|\ \ | |/ | |||||
| * | Fix tokens line number calculation when whitespace stripping is used | Andrey Lisin | 2020-03-30 | 1 | -2/+6 |
| | | |||||
* | | apply pyupgrade and f-strings | David Lord | 2020-02-05 | 1 | -77/+43 |
| | | |||||
* | | remove more compat code | David Lord | 2020-02-05 | 1 | -15/+2 |
| | | |||||
* | | remove _compat module | David Lord | 2020-02-05 | 1 | -11/+5 |
| | | |||||
* | | remove Python 2 from docs | David Lord | 2020-02-05 | 1 | -1/+3 |
|/ | |||||
* | Revert "rename directory to jinja"revert-rename | David Lord | 2020-01-26 | 1 | -0/+841 |
| | | | | This reverts commit eac9acb7aeabf6f3e0ed4cb876e200e5e72d0d0e. | ||||
* | rename directory to jinja | David Lord | 2020-01-10 | 1 | -841/+0 |
| | |||||
* | simplify module docstringsstyle | David Lord | 2020-01-10 | 1 | -14/+4 |
| | |||||
* | more relative imports | David Lord | 2020-01-10 | 1 | -13/+4 |
| | | | | | _identifier exports a compiled regex instead of a string to avoid some tricky cleanup | ||||
* | apply flake8 | David Lord | 2020-01-10 | 1 | -2/+4 |
| | |||||
* | apply black | David Lord | 2020-01-10 | 1 | -246/+335 |
| | |||||
* | apply reorder-python-imports | David Lord | 2020-01-10 | 1 | -3/+6 |
| | |||||
* | move to src directory | David Lord | 2020-01-09 | 1 | -0/+766 |