diff options
-rw-r--r-- | app/Template/file_viewer/show.php | 2 |
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> |