askama/rinja_derive
René Kijewski 5163e38355 filters: proper escaping for |linebreaks and friends
The filters `|linebreaks`, `|linebreaksbr` and `|paragraphbreaks`
generate HTML code to be embedded in a page. Having to specify that the
output of these filters is `|safe` is cumbersome. Also, these filters
need to operate on already escaped HTML data. This could be done by
writing `{{ s|escape|linebreaks|safe }}`.

This PR does the input and output formatting escaping for the user. The
input gets escaped for HTML (invariant of the selected escaper), and the
output gets marked as HTML safe.
2024-07-13 14:44:28 +02:00
..
2024-06-17 15:58:52 +02:00
2024-07-11 03:43:39 +02:00
2024-06-17 15:58:52 +02:00
2024-06-17 15:58:52 +02:00
2024-07-09 13:46:58 +02:00

rinja_derive: procedural macros for the Rinja templating engine

Documentation Latest version Build Status

This crate contains the procedural macros used by the Rinja templating engine.