Skip to content

Commit

Permalink
render HTML marked-up attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
Chip Marshall committed Aug 24, 2022
1 parent e7575af commit 02d9a0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/AlertDetail.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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"
/>
Expand Down

0 comments on commit 02d9a0e

Please sign in to comment.