rename unsafe -> allow_unsafe (unsafe was a bad choice as it clashes with the rust keyword)

This commit is contained in:
Gus Power
2025-03-15 09:08:11 +00:00
parent 2702cbcc36
commit 7d93aa6050
+2 -2
View File
@@ -8,7 +8,7 @@
{{~/if~}}
{{~#if contents_md~}}
<div class="remove-bottom-margin {{#if center}}mx-auto{{/if}} {{#if article}}markdown article-text{{/if}}">
{{{~markdown contents_md unsafe~}}}
{{{~markdown contents_md allow_unsafe~}}}
</div>
{{~/if~}}
<p class="{{#if center}}mx-auto{{/if}} {{#if article}}markdown article-text{{/if}}">
@@ -30,7 +30,7 @@
">{{contents}}</span>
{{~flush_delayed~}}
{{~#if contents_md~}}
{{{markdown contents_md unsafe}}}
{{{markdown contents_md allow_unsafe}}}
{{~/if~}}
{{~/each_row~}}
</p>