Fix text file preview
Escapes any html tags on text files
This commit is contained in:
committed by
fguillot
parent
c60d642a1a
commit
c3012e0142
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user