tera 2.0.0-alpha.3

A template engine for Rust based on Jinja2/Django
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
---
source: tera/src/snapshot_tests/rendering.rs
expression: "&normalized_out"
input_file: tera/src/snapshot_tests/rendering_inputs/success/escaping.txt
---
<p>I should be escaped by default</p>
true
true
true
escaped: ["<p>Some HTML chars & more</p>"]
safe: ["<p>Some HTML chars & more</p>"]
escaped: {&quot;a&quot;: &quot;&lt;p&gt;Some HTML chars &amp; more&lt;/p&gt;&quot;}
safe: {"a": "<p>Some HTML chars & more</p>"}