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

View File

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