This commit is contained in:
@@ -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));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user