0
0
Fork 0
mirror of https://github.com/alerta/alerta-webui.git synced 2025-03-16 13:33:29 +00:00

render HTML marked-up attributes

This commit is contained in:
Chip Marshall 2022-08-24 13:18:23 -07:00
parent e7575af4f3
commit 02d9a0e5e0

View file

@ -725,7 +725,7 @@
</span>
</div>
<div
v-else-if="typeof value === 'string' && (value.includes('http://') || value.includes('https://'))"
v-else-if="typeof value === 'string' && /<\/?[a-z][\s\S]*>/i.test(value)"
class="link-text"
v-html="value"
/>