Fix text file preview

Escapes any html tags on text files
This commit is contained in:
Rafael de Camargo 2019-05-22 10:41:02 -03:00 committed by fguillot
parent c60d642a1a
commit c3012e0142
1 changed files with 1 additions and 1 deletions

View File

@ -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>