diff --git a/Theme/Backend/media-single.tpl.php b/Theme/Backend/media-single.tpl.php
index 5093fa3..1530fb9 100644
--- a/Theme/Backend/media-single.tpl.php
+++ b/Theme/Backend/media-single.tpl.php
@@ -33,8 +33,13 @@ echo $this->getData('nav')->render();
| Created at | = htmlspecialchars($media->getCreatedAt()->format('Y-m-d'), ENT_COMPAT, 'utf-8'); ?>
|
| Created by | = htmlspecialchars($media->getCreatedBy()->getName1(), ENT_COMPAT, 'utf-8'); ?>
|
| Description | = htmlspecialchars($media->getDescription(), ENT_COMPAT, 'utf-8'); ?>
- |
Content
+
+
+
+
+
+
getExtension()) === \phpOMS\System\File\ExtensionType::IMAGE) : ?>
getExtension() === 'collection') : ?>
@@ -49,7 +54,7 @@ echo $this->getData('nav')->render();
$output = file_get_contents(__DIR__ . '/../../../../' . $media->getPath());
$output = str_replace(["\r\n", "\r"], "\n", $output);
$output = explode("\n", $output);
- foreach($output as $line) : ?> = $line; ?>
+ foreach($output as $line) : ?> = htmlspecialchars($line, ENT_COMPAT, 'utf-8'); ?>
|