Skip to content

Commit

Permalink
pkp/pkp-lib#9840 Remove vue3-highlightjs and add Add "highlightjs/vue…
Browse files Browse the repository at this point in the history
…-plugin". Use only XML language.
  • Loading branch information
defstat committed May 21, 2024
1 parent 2b23e57 commit aa0c7c7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/pages/workflow/PublicationSectionJats.vue
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,9 @@
<div v-if="this.workingJatsProps['loadingContentError']">
{{ this.workingJatsProps['loadingContentError'] }}
</div>
<pre v-else v-highlightjs="workingJatsContent"><code class="xml"></code></pre>
<div v-else>
<highlightjs language="xml" :code="workingJatsContent"/>
</div>
</div>
<div v-if="this.workingJatsProps['loadingContentError'] == null">
<div v-if="isDefaultContent" class="filePanel__hasData">
Expand Down

0 comments on commit aa0c7c7

Please sign in to comment.