Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add section in book about using constants in templates | Guillaume Gomez | 2023-08-09 | 1 | -0/+22 |
| | |||||
* | There's no mention of name afterwards | Justin Abrahms | 2023-07-21 | 1 | -1/+1 |
| | |||||
* | Add section for performance tips | wrapperup | 2023-06-28 | 2 | -0/+17 |
| | |||||
* | Added example on how to use super() | reportingissue | 2023-06-21 | 1 | -1/+2 |
| | |||||
* | Allow delimiters with arbitrary length | René Kijewski | 2023-05-31 | 1 | -2/+2 |
| | |||||
* | Improve whitespace documentation | Raimundo Saona | 2023-04-03 | 1 | -2/+27 |
| | |||||
* | Add documentation for whitespace argument in template derive proc-macro | Guillaume Gomez | 2023-03-13 | 1 | -0/+14 |
| | |||||
* | Add documentation for + sign in whitespace control | Guillaume Gomez | 2023-03-09 | 1 | -0/+12 |
| | |||||
* | Add subsections for configuration chapter (#787) | Guillaume Gomez | 2023-03-06 | 1 | -0/+4 |
| | |||||
* | Extend documentation of custom filters | Raimundo Saona | 2022-11-16 | 1 | -5/+56 |
| | |||||
* | Fix some minor issues in escape documentation. | AndrolGenhald | 2022-11-07 | 1 | -2/+2 |
| | |||||
* | Version bump in README and book | Allan Zhang | 2022-10-21 | 2 | -2/+2 |
| | | | | | | | | | I was going through the book when I saw the version was still 0.8. This commit ensures all references to Askama version are to 0.11.2. Most of them already were. Merge whenever appropriate for release, #722 related | ||||
* | Update to comrak v0.14 | René Kijewski | 2022-07-20 | 1 | -1/+1 |
| | |||||
* | Document macro import syntax. | Owen Jacobson | 2022-06-09 | 1 | -0/+8 |
| | | | | This was a source of some frustration working on a port of a toy app to askama. The tests do help, but having this called out in the docs would have saved me an hour or two. | ||||
* | Add documentation for `~` and `"minimize"` | Guillaume Gomez | 2022-04-26 | 1 | -3/+18 |
| | |||||
* | Update `whitespace` documentation | Guillaume Gomez | 2022-04-21 | 1 | -2/+2 |
| | |||||
* | Add documentation for "config" parameter | Guillaume Gomez | 2022-04-21 | 1 | -2/+9 |
| | |||||
* | Add documentation for suppress_whitespace | Guillaume Gomez | 2022-04-21 | 1 | -1/+28 |
| | |||||
* | Book: document markdown filter | René Kijewski | 2022-02-21 | 1 | -0/+25 |
| | |||||
* | Book: add TOC to filters | René Kijewski | 2022-02-21 | 1 | -1/+48 |
| | |||||
* | Make json filter safe | René Kijewski | 2022-02-16 | 1 | -25/+47 |
| | | | | | | | | | | | | | | | | | | | | | Previously the built-in json filter had an issue that made it unsafe to use in HTML data. When used in HTML attributes an attacker who is able to supply an arbitrary string that should be JSON encoded could close the containing HTML element e.g. with `"</div>"`, and write arbitrary HTML code afterwards as long as they use apostrophes instead of quotation marks. The programmer could make this use case safe by explicitly escaping the JSON result: `{{data|json|escape}}`. In a `<script>` context the json filter was not usable at all, because in scripts HTML escaped entities are not parsed outside of XHTML documents. Without using the safe filter an attacker could close the current script using `"</script>"`. This PR fixes the problem by always escaping less-than, greater-than, ampersand, and apostrophe characters using their JSON unicode escape sequence `\u00xx`. Unless the programmer explicitly uses the safe filter, quotation marks are HTML encoded as `"`. In scripts the programmer should use the safe filter, otherwise not. | ||||
* | Update README.md, sync with the book | René Kijewski | 2022-02-02 | 1 | -2/+3 |
| | |||||
* | Add Axum integration | Michael Alyn Miller | 2021-11-27 | 1 | -0/+12 |
| | |||||
* | Updated book to include optional escaper for escape filter | vallentin | 2021-11-19 | 1 | -0/+22 |
| | |||||
* | Remove the askama_iron integration | Dirkjan Ochtman | 2021-08-05 | 1 | -12/+0 |
| | | | | | | | This web framework seems not to have been updated for quite a while, and its current version appears to depend on vulnerable crates. Remove it for now. If someone wants to fix up Iron upstream and reinstate this, I'd be happy to review your PR. | ||||
* | updated the book to describe the new paragraphbreaks filter | mbuscemi | 2021-03-22 | 1 | -0/+18 |
| | |||||
* | Added missing punctuation and backticks | vallentin | 2021-01-06 | 1 | -14/+16 |
| | |||||
* | Added abs filter to book | vallentin | 2021-01-06 | 1 | -0/+14 |
| | |||||
* | Updated book to include tojson alias | vallentin | 2020-12-30 | 1 | -1/+3 |
| | |||||
* | Updated book to be on par with readme | vallentin | 2020-12-26 | 1 | -6/+1 |
| | |||||
* | Updated book to include let shadow | vallentin | 2020-12-25 | 1 | -1/+11 |
| | |||||
* | Updated book to include nested comments | vallentin | 2020-12-18 | 1 | -1/+10 |
| | |||||
* | Updated book to include set alias | vallentin | 2020-12-16 | 1 | -1/+3 |
| | |||||
* | Fix small wording issues in book | Fabian Würfl | 2020-11-21 | 1 | -2/+2 |
| | |||||
* | Fix links and actions which were broken since the default branch was renamed ↵ | jake | 2020-10-26 | 2 | -7/+7 |
| | | | | from master to main | ||||
* | Use efficient method for nested template rendering | Dirkjan Ochtman | 2020-08-25 | 1 | -2/+3 |
| | |||||
* | Fix filter docs to clarify whitespace handling | Dirkjan Ochtman | 2020-07-23 | 1 | -16/+18 |
| | |||||
* | askama tide | Jacob Rothstein | 2020-07-14 | 1 | -0/+9 |
| | |||||
* | Prune duplicate documentation | Dirkjan Ochtman | 2020-06-30 | 1 | -2/+2 |
| | |||||
* | Single capital in section titles | Dirkjan Ochtman | 2020-06-30 | 1 | -3/+3 |
| | |||||
* | Move optional filter documentation into filters section | Dirkjan Ochtman | 2020-06-30 | 2 | -25/+26 |
| | |||||
* | Initial Askama Book (#332) | cetra3 | 2020-06-29 | 9 | -0/+1011 |