Commit 05bcb9a4 authored by Phil Hughes's avatar Phil Hughes

Renders widget extension data with v-safe-html

To allow for formatting of individual data this now renders
the data with `v-safe-html`.
parent 72dee28e
...@@ -140,9 +140,7 @@ export default { ...@@ -140,9 +140,7 @@ export default {
<div <div
class="gl-mt-2 gl-mb-2 align-content-around align-items-start flex-wrap align-self-center d-flex" class="gl-mt-2 gl-mb-2 align-content-around align-items-start flex-wrap align-self-center d-flex"
> >
<div class="gl-mr-4"> <div v-safe-html="data.text" class="gl-mr-4"></div>
{{ data.text }}
</div>
<div v-if="data.link"> <div v-if="data.link">
<gl-link :href="data.link.href">{{ data.link.text }}</gl-link> <gl-link :href="data.link.href">{{ data.link.text }}</gl-link>
</div> </div>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment