Skip to content

Commit

Permalink
fix: disable template compilation in source view
Browse files Browse the repository at this point in the history
  • Loading branch information
NGPixel committed Jun 4, 2023
1 parent 55bd994 commit 3bf1d9c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 1 addition & 2 deletions client/components/source.vue
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@
v-card.grey.radius-7(flat, :class='$vuetify.theme.dark ? `darken-4` : `lighten-4`')
v-card-text
pre
code
slot
slot

nav-footer
notify
Expand Down
3 changes: 2 additions & 1 deletion server/views/source.pug
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@ block body
:version-id=page.versionId
version-date=page.versionDate
effective-permissions=Buffer.from(JSON.stringify(effectivePermissions)).toString('base64')
)= page.content
)
code(v-pre)= page.content

0 comments on commit 3bf1d9c

Please sign in to comment.