mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-09 08:08:24 -05:00
fix CSS escape (remove HTML sanitize)
This commit is contained in:
@@ -128,9 +128,7 @@ import IngredientsCard from "@/components/IngredientsCard"
|
||||
import Vue from "vue"
|
||||
import moment from "moment"
|
||||
import {ResolveUrlMixin, calculateHourMinuteSplit} from "@/utils/utils"
|
||||
import VueSanitize from "vue-sanitize"
|
||||
|
||||
Vue.use(VueSanitize)
|
||||
Vue.prototype.moment = moment
|
||||
|
||||
export default {
|
||||
@@ -200,7 +198,7 @@ export default {
|
||||
this.$refs[`id_reactive_popover_${this.step.id}`].$emit("open")
|
||||
},
|
||||
escapeCSS: function (classname) {
|
||||
return CSS.escape(this.$sanitize(escapeCSS(classname)))
|
||||
return CSS.escape(escapeCSS(classname))
|
||||
}
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user