Fix text file preview
Escapes any html tags on text files
This commit is contained in:
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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue