render SafeString thru |safe

thanks again to @fdb-hiroshima for pointing me in the right direction!
This commit is contained in:
Igor Galić 2018-09-14 21:44:32 +02:00
parent 06718a5c8a
commit fb074e6344
No known key found for this signature in database
GPG Key ID: ACFEFF7F6A123A86

View File

@ -23,10 +23,10 @@
</label>
<label for="short_description">{{ "Short description" | _ }}<small>{{ "Markdown is supported" | _ }}</small></label>
<textarea id="short_description" name="short_description">{{ form.short_description | default(value=instance.short_description) }}</textarea>
<textarea id="short_description" name="short_description">{{ form.short_description | default(value=instance.short_description | safe) }}</textarea>
<label for="long_description">{{ "Long description" | _ }}<small>{{ "Markdown is supported" | _ }}</small></label>
<textarea id="long_description" name="long_description">{{ form.long_description | default(value=instance.long_description) }}</textarea>
<textarea id="long_description" name="long_description">{{ form.long_description | default(value=instance.long_description | safe) }}</textarea>
{{ macros::input(name="default_license", label="Default license", errors=errors, form=form, props='minlenght="1"', default=instance) }}