Use v-text for alerts
This commit is contained in:
parent
477afbe075
commit
c9c33ac978
@ -25,7 +25,7 @@
|
|||||||
|
|
||||||
<div class='usa-alert-body'>
|
<div class='usa-alert-body'>
|
||||||
{% if vue_template %}
|
{% if vue_template %}
|
||||||
<h3 class='usa-alert-heading' v-html='title'></h3>
|
<h3 class='usa-alert-heading' v-text='title'></h3>
|
||||||
{% elif title %}
|
{% elif title %}
|
||||||
<h3 class='usa-alert-heading'>{{ title | safe }}</h3>
|
<h3 class='usa-alert-heading'>{{ title | safe }}</h3>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user