aboutsummaryrefslogtreecommitdiffstats
path: root/book/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add poem integrationHEADmainLibravatar cel 🌸2024-01-242-1/+13
|
* Mention that whitespace control is not allowed on `extends` in the bookLibravatar Guillaume Gomez2024-01-221-0/+10
|
* docs: fix a typoLibravatar Marcos Brito2024-01-181-1/+1
|
* Add documentation for `as_ref` builtin filterLibravatar Guillaume Gomez2024-01-121-0/+18
|
* Fix typoLibravatar Sadika Sumanapala2023-12-181-1/+1
|
* Add documentation for macro named argumentsLibravatar Guillaume Gomez2023-11-281-3/+48
|
* Add missing link to template expansionLibravatar Guillaume Gomez2023-11-071-0/+1
|
* Add new chapter in the askama book about template expansionLibravatar Guillaume Gomez2023-11-071-0/+485
|
* document function syntax in templatesLibravatar Thomas Threadgold2023-11-071-0/+116
|
* Improve the macros sectionLibravatar Mo2023-10-301-5/+4
|
* Extend documentation about using block/macro name when "ending" itLibravatar Guillaume Gomez2023-10-231-0/+14
|
* Advertise Discord channel instead of GitterLibravatar Dirkjan Ochtman2023-10-031-1/+1
|
* Add section in book about using constants in templatesLibravatar Guillaume Gomez2023-08-091-0/+22
|
* There's no mention of name afterwardsLibravatar Justin Abrahms2023-07-211-1/+1
|
* Add section for performance tipsLibravatar wrapperup2023-06-282-0/+17
|
* Added example on how to use super()Libravatar reportingissue2023-06-211-1/+2
|
* Allow delimiters with arbitrary lengthLibravatar René Kijewski2023-05-311-2/+2
|
* Improve whitespace documentationLibravatar Raimundo Saona2023-04-031-2/+27
|
* Add documentation for whitespace argument in template derive proc-macroLibravatar Guillaume Gomez2023-03-131-0/+14
|
* Add documentation for + sign in whitespace controlLibravatar Guillaume Gomez2023-03-091-0/+12
|
* Add subsections for configuration chapter (#787)Libravatar Guillaume Gomez2023-03-061-0/+4
|
* Extend documentation of custom filtersLibravatar Raimundo Saona2022-11-161-5/+56
|
* Fix some minor issues in escape documentation.Libravatar AndrolGenhald2022-11-071-2/+2
|
* Version bump in README and bookLibravatar Allan Zhang2022-10-212-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.14Libravatar René Kijewski2022-07-201-1/+1
|
* Document macro import syntax.Libravatar Owen Jacobson2022-06-091-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"`Libravatar Guillaume Gomez2022-04-261-3/+18
|
* Update `whitespace` documentationLibravatar Guillaume Gomez2022-04-211-2/+2
|
* Add documentation for "config" parameterLibravatar Guillaume Gomez2022-04-211-2/+9
|
* Add documentation for suppress_whitespaceLibravatar Guillaume Gomez2022-04-211-1/+28
|
* Book: document markdown filterLibravatar René Kijewski2022-02-211-0/+25
|
* Book: add TOC to filtersLibravatar René Kijewski2022-02-211-1/+48
|
* Make json filter safeLibravatar René Kijewski2022-02-161-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 `&quot`. In scripts the programmer should use the safe filter, otherwise not.
* Update README.md, sync with the bookLibravatar René Kijewski2022-02-021-2/+3
|
* Add Axum integrationLibravatar Michael Alyn Miller2021-11-271-0/+12
|
* Updated book to include optional escaper for escape filterLibravatar vallentin2021-11-191-0/+22
|
* Remove the askama_iron integrationLibravatar Dirkjan Ochtman2021-08-051-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 filterLibravatar mbuscemi2021-03-221-0/+18
|
* Added missing punctuation and backticksLibravatar vallentin2021-01-061-14/+16
|
* Added abs filter to bookLibravatar vallentin2021-01-061-0/+14
|
* Updated book to include tojson aliasLibravatar vallentin2020-12-301-1/+3
|
* Updated book to be on par with readmeLibravatar vallentin2020-12-261-6/+1
|
* Updated book to include let shadowLibravatar vallentin2020-12-251-1/+11
|
* Updated book to include nested commentsLibravatar vallentin2020-12-181-1/+10
|
* Updated book to include set aliasLibravatar vallentin2020-12-161-1/+3
|
* Fix small wording issues in bookLibravatar Fabian WĂĽrfl2020-11-211-2/+2
|
* Fix links and actions which were broken since the default branch was renamed ↵Libravatar jake2020-10-262-7/+7
| | | | from master to main
* Use efficient method for nested template renderingLibravatar Dirkjan Ochtman2020-08-251-2/+3
|
* Fix filter docs to clarify whitespace handlingLibravatar Dirkjan Ochtman2020-07-231-16/+18
|
* askama tideLibravatar Jacob Rothstein2020-07-141-0/+9
|