Use v-text for alerts

This commit is contained in:
graham-dds 2020-01-15 15:07:32 -05:00
parent 477afbe075
commit c9c33ac978

View File

@ -25,7 +25,7 @@
<div class='usa-alert-body'>
{% if vue_template %}
<h3 class='usa-alert-heading' v-html='title'></h3>
<h3 class='usa-alert-heading' v-text='title'></h3>
{% elif title %}
<h3 class='usa-alert-heading'>{{ title | safe }}</h3>
{% endif %}