From: Andrea Zagli Date: Sat, 25 Feb 2023 10:29:23 +0000 (+0100) Subject: Escaped quote on field values. X-Git-Url: https://saetta.ns0.it/gitweb?a=commitdiff_plain;h=23b66b9b1f461ba237391598c78b277728ef18c1;p=rust%2Fzakform Escaped quote on field values. --- diff --git a/src/lib.rs b/src/lib.rs index 764c1b1..2f3bd8c 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -54,7 +54,7 @@ impl Field { FType::Text => { f.tmpl.add_raw_template("field", r#"{% if label %}
{% endif %} - 0 %}maxlength="{{ maxlen }}"{% endif %} {% if invisible %}style="display: none;"{% endif %}/> + 0 %}maxlength="{{ maxlen }}"{% endif %} {% if invisible %}style="display: none;"{% endif %}/> {% if help %}
{{ help }}
{% endif %} {% if label %}
{% endif %}"#); }, @@ -63,7 +63,7 @@ impl Field { f.tmpl.add_raw_template("field", r#"{% if label %}
{% endif %} - + {% if help %}
{{ help }}
{% endif %} {% if label %}
{% endif %}"#); },