Skip to content

Commit

Permalink
fix: add v-pre to pre tags at render time
Browse files Browse the repository at this point in the history
  • Loading branch information
NGPixel committed Mar 12, 2021
1 parent 919d7c1 commit 5ffa189
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions server/modules/rendering/html-core/renderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,10 @@ module.exports = {
}
iterateMustacheNode($.root())

$('pre').each((idx, elm) => {
$(elm).attr('v-pre', true)
})

// --------------------------------
// STEP: POST
// --------------------------------
Expand Down

0 comments on commit 5ffa189

Please sign in to comment.