Skip to content

Commit

Permalink
pkp/pkp-lib#9421 doc tool might require v-html
Browse files Browse the repository at this point in the history
  • Loading branch information
jardakotesovec committed Feb 6, 2024
1 parent 1f4c413 commit 5d7c963
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/docs/Component.vue
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,9 @@
</div>
<pre
class="component__example__template"
><div class="language-html" v-strip-unsafe-html="currentExample.template" /></pre>
><div class="language-html" v-html="currentExample.template" /></pre>
<section v-if="readme" class="component__example__readme bodyText">
<div v-strip-unsafe-html="readme" />
<div v-html="readme" />
</section>
</template>
<div v-else class="component__example__none">
Expand Down
2 changes: 1 addition & 1 deletion src/docs/Page.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<div class="page bodyText" v-strip-unsafe-html="output" />
<div class="page bodyText" v-html="output" />
</template>

<script>
Expand Down

0 comments on commit 5d7c963

Please sign in to comment.