Commit 02f8eadd authored by Kushal Pandya's avatar Kushal Pandya

Merge branch 'ph/widgetExtensionFormattingData' into 'master'

Renders widget extension data with v-safe-html

See merge request gitlab-org/gitlab!71190
parents 87d802ff 05bcb9a4
...@@ -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