Commit ff8ad056 authored by imrishabh18's avatar imrishabh18

GlEmooji component allowed foror the description

parent 25aee5c5
...@@ -16,10 +16,14 @@ export default { ...@@ -16,10 +16,14 @@ export default {
default: '', default: '',
}, },
}, },
safeHtmlConfig: { ADD_TAGS: ['gl-emoji'] },
}; };
</script> </script>
<template> <template>
<markdown-field-view class="snippet-description" data-qa-selector="snippet_description_content"> <markdown-field-view class="snippet-description" data-qa-selector="snippet_description_content">
<div v-safe-html="description" class="md js-snippet-description"></div> <div
v-safe-html:[$options.safeHtmlConfig]="description"
class="md js-snippet-description"
></div>
</markdown-field-view> </markdown-field-view>
</template> </template>
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