Skip to content

Commit

Permalink
pkp/pkp-lib#7505 Add highlightjs for XML
Browse files Browse the repository at this point in the history
  • Loading branch information
defstat committed Dec 6, 2023
1 parent 96f6338 commit 103592d
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions src/components/ListPanel/jats/SubmissionJatsListPanel.vue
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,7 @@
</div>
<div class="filePanel__items">
<div class="filePanel__fileContent">
<pre>
<code>
{{ workingJatsContent }}
</code>
</pre>
<pre v-highlightjs="workingJatsContent"><code class="xml"></code></pre>
</div>
<div>
<div v-if="isDefaultContent" class="filePanel__hasData">
Expand Down Expand Up @@ -411,13 +407,6 @@ export default {
white-space: -pre-wrap; /* Opera 4-6 */
white-space: -o-pre-wrap; /* Opera 7 */
word-wrap: break-word; /* Internet Explorer 5.5+ */
border: 1px solid #ccc;
padding: 10px;
background-color: #f9f9f9;
}
code {
font-family: monospace;
}
}
</style>

0 comments on commit 103592d

Please sign in to comment.