summaryrefslogtreecommitdiff
path: root/app/Template/file_viewer/show.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Template/file_viewer/show.php')
-rw-r--r--app/Template/file_viewer/show.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Template/file_viewer/show.php b/app/Template/file_viewer/show.php
index e829a178..0c1c5e2b 100644
--- a/app/Template/file_viewer/show.php
+++ b/app/Template/file_viewer/show.php
@@ -9,6 +9,6 @@
<?= $this->text->markdown($content) ?>
</article>
<?php elseif ($type === 'text'): ?>
- <pre><?= $content ?></pre>
+ <pre><?= $this->text->e($content) ?></pre>
<?php endif ?>
</div>