diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-09-08 15:12:01 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-09-08 15:12:01 +0300 |
commit | e2f984e14e1fd34e5105669c4306388019e6b5b6 (patch) | |
tree | 942c781a51a34c667c3c66e9d481f9fcf68459a3 /app/assets/javascripts/notebook/cells | |
parent | 5cd68a92fa0397121f25357ffae4a4bb6393ae72 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/notebook/cells')
-rw-r--r-- | app/assets/javascripts/notebook/cells/output/html.vue | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/app/assets/javascripts/notebook/cells/output/html.vue b/app/assets/javascripts/notebook/cells/output/html.vue index c8d4e6de39b..ca02ee18dd1 100644 --- a/app/assets/javascripts/notebook/cells/output/html.vue +++ b/app/assets/javascripts/notebook/cells/output/html.vue @@ -28,12 +28,15 @@ export default { return this.index === 0; }, }, + safeHtmlConfig: { + ADD_TAGS: ['use'], // to support icon SVGs + }, }; </script> <template> <div class="output"> <prompt type="Out" :count="count" :show-output="showOutput" /> - <div v-safe-html="rawCode" class="gl-overflow-auto"></div> + <div v-safe-html:[$options.safeHtmlConfig]="rawCode" class="gl-overflow-auto"></div> </div> </template> |