diff --git a/common/framework/Template.php b/common/framework/Template.php index 1d19c5cf8..20d0277ab 100644 --- a/common/framework/Template.php +++ b/common/framework/Template.php @@ -327,7 +327,7 @@ class Template $content = Storage::read($this->absolute_path); $content = trim($content) . PHP_EOL; } - if ($content === null || $content === '') + if ($content === null || $content === '' || $content === PHP_EOL) { return ''; }