Browse Source

Merge pull request from GHSA-pgjv-84m7-62q7

Nicolas Giard 4 years ago
parent
commit
a57d9af34c
1 changed files with 4 additions and 4 deletions
  1. 4 4
      client/components/common/search-results.vue

+ 4 - 4
client/components/common/search-results.vue

@@ -22,9 +22,9 @@
               v-list-item-avatar(tile)
                 img(src='/_assets/svg/icon-selective-highlighting.svg')
               v-list-item-content
-                v-list-item-title(v-html='item.title')
-                v-list-item-subtitle.caption(v-html='item.description')
-                .caption.grey--text(v-html='item.path')
+                v-list-item-title(v-text='item.title')
+                v-list-item-subtitle.caption(v-text='item.description')
+                .caption.grey--text(v-text='item.path')
               v-list-item-action
                 v-chip(label, outlined) {{item.locale.toUpperCase()}}
             v-divider(v-if='idx < results.length - 1')
@@ -43,7 +43,7 @@
               v-list-item-avatar
                 v-icon mdi-magnify
               v-list-item-content
-                v-list-item-title(v-html='term')
+                v-list-item-title(v-text='term')
             v-divider(v-if='idx < suggestions.length - 1')
       .text-xs-center.pt-5(v-if='search && search.length > 1')
         //- v-btn.mx-2(outlined, color='orange', @click='search = ``', v-if='results.length > 0')