Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2023-07-21 | There's no mention of name afterwards | 1 | -1/+1 | ||
2023-06-28 | Add section for performance tips | 2 | -0/+17 | ||
2023-06-21 | Added example on how to use super() | 1 | -1/+2 | ||
2023-05-31 | Allow delimiters with arbitrary length | 1 | -2/+2 | ||
2023-04-03 | Improve whitespace documentation | 1 | -2/+27 | ||
2023-03-13 | Add documentation for whitespace argument in template derive proc-macro | 1 | -0/+14 | ||
2023-03-09 | Add documentation for + sign in whitespace control | 1 | -0/+12 | ||
2023-03-06 | Add subsections for configuration chapter (#787) | 1 | -0/+4 | ||
2022-11-16 | Extend documentation of custom filters | 1 | -5/+56 | ||
2022-11-07 | Fix some minor issues in escape documentation. | 1 | -2/+2 | ||
2022-10-21 | Version bump in README and book | 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 | |||||
2022-07-20 | Update to comrak v0.14 | 1 | -1/+1 | ||
2022-06-09 | Document macro import syntax. | 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. | |||||
2022-04-26 | Add documentation for `~` and `"minimize"` | 1 | -3/+18 | ||
2022-04-21 | Update `whitespace` documentation | 1 | -2/+2 | ||
2022-04-21 | Add documentation for "config" parameter | 1 | -2/+9 | ||
2022-04-21 | Add documentation for suppress_whitespace | 1 | -1/+28 | ||
2022-02-21 | Book: document markdown filter | 1 | -0/+25 | ||
2022-02-21 | Book: add TOC to filters | 1 | -1/+48 | ||
2022-02-16 | Make json filter safe | 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. | |||||
2022-02-02 | Update README.md, sync with the book | 1 | -2/+3 | ||
2021-11-27 | Add Axum integration | 1 | -0/+12 | ||
2021-11-19 | Updated book to include optional escaper for escape filter | 1 | -0/+22 | ||
2021-08-05 | Remove the askama_iron integration | 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. | |||||
2021-03-22 | updated the book to describe the new paragraphbreaks filter | 1 | -0/+18 | ||
2021-01-06 | Added missing punctuation and backticks | 1 | -14/+16 | ||
2021-01-06 | Added abs filter to book | 1 | -0/+14 | ||
2020-12-30 | Updated book to include tojson alias | 1 | -1/+3 | ||
2020-12-26 | Updated book to be on par with readme | 1 | -6/+1 | ||
2020-12-25 | Updated book to include let shadow | 1 | -1/+11 | ||
2020-12-18 | Updated book to include nested comments | 1 | -1/+10 | ||
2020-12-16 | Updated book to include set alias | 1 | -1/+3 | ||
2020-11-21 | Fix small wording issues in book | 1 | -2/+2 | ||
2020-10-26 | Fix links and actions which were broken since the default branch was renamed ↵ | 2 | -7/+7 | ||
from master to main | |||||
2020-08-25 | Use efficient method for nested template rendering | 1 | -2/+3 | ||
2020-07-23 | Fix filter docs to clarify whitespace handling | 1 | -16/+18 | ||
2020-07-14 | askama tide | 1 | -0/+9 | ||
2020-06-30 | Prune duplicate documentation | 1 | -2/+2 | ||
2020-06-30 | Single capital in section titles | 1 | -3/+3 | ||
2020-06-30 | Move optional filter documentation into filters section | 2 | -25/+26 | ||
2020-06-29 | Add myself as an author | 1 | -1/+1 | ||
2020-06-29 | Initial Askama Book (#332) | 11 | -0/+1018 | ||