fix CSS escape (remove HTML sanitize)

This commit is contained in:
tomtjes
2024-02-14 17:18:26 -05:00
parent 8e72108290
commit b5a204265a
3 changed files with 3 additions and 10 deletions

View File

@@ -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))
}
},
}