This commit is contained in:
2020-04-16 15:52:03 +00:00
parent 079453e0d8
commit 378e208e78

View File

@@ -1,9 +1,9 @@
<template> <template>
<div> <div>
<span class="v-label v-label--active theme--light"> <span class="v-label v-label--active theme--light">
{{ $ay.t("WikiPage") }} Wiki
</span> </span>
<v-sheet elevation="2" v-html="compiledOutput()" class="pa-2 pa-sm-6"> <v-sheet elevation="2" v-html="compiledOutput()" class="pa-2 pa-sm-6 mt-2">
</v-sheet> </v-sheet>
</div> </div>
</template> </template>
@@ -17,7 +17,6 @@ export default {
}, },
methods: { methods: {
compiledOutput() { compiledOutput() {
//return marked(this.content, { sanitize: true });
return DOMPurify.sanitize(marked(this.value)); return DOMPurify.sanitize(marked(this.value));
} }
} }