Skip to content

Commit

Permalink
#9421 replace v-html with v-strip-unsave-html (#9703)
Browse files Browse the repository at this point in the history
  • Loading branch information
jardakotesovec authored Feb 7, 2024
1 parent 11cc580 commit 361f2c5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions js/load.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ import VModal from 'vue-js-modal';
import VTooltip from 'v-tooltip';
import VueScrollTo from 'vue-scrollto';

// Directives
import {stripUnsafeHtml} from '@/directives/stripUnsafeHtml.js';

// Global components of UI Library
import Badge from '@/components/Badge/Badge.vue';
import Icon from '@/components/Icon/Icon.vue';
Expand All @@ -33,6 +36,7 @@ Vue.use(VModal, {
Vue.use(VTooltip, {defaultTrigger: 'click'});
Vue.use(VueScrollTo);
Vue.mixin(GlobalMixins);
Vue.directive("strip-unsafe-html", stripUnsafeHtml);

// Register global components
Vue.component('Badge', Badge);
Expand Down

0 comments on commit 361f2c5

Please sign in to comment.