From 2eaa4e42f9b56b6e687d807198d022f450390505 Mon Sep 17 00:00:00 2001 From: Andrew Newton Date: Mon, 29 Jul 2024 11:52:25 +0100 Subject: [PATCH] fix: doctype not being output in several places (#200) * fix: doctype not actually being output in several places. * fix: remove test CDN deps --- module/Olcs/view/layout/base.phtml | 2 +- module/Olcs/view/layout/signin.phtml | 2 +- module/Olcs/view/layout/simple.phtml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/module/Olcs/view/layout/base.phtml b/module/Olcs/view/layout/base.phtml index e8508a4434..74d6affa3b 100644 --- a/module/Olcs/view/layout/base.phtml +++ b/module/Olcs/view/layout/base.phtml @@ -33,7 +33,7 @@ } } -$this->doctype(); ?> +echo $this->doctype(); ?> diff --git a/module/Olcs/view/layout/signin.phtml b/module/Olcs/view/layout/signin.phtml index cdab4fc6bf..122fda5d74 100644 --- a/module/Olcs/view/layout/signin.phtml +++ b/module/Olcs/view/layout/signin.phtml @@ -1,5 +1,5 @@ doctype(); + echo $this->doctype().PHP_EOL; // OLCS-26896 - make sure X-UA-Compatible value is not escaped on the internal login screen $this->headMeta()->setAutoEscape(false); diff --git a/module/Olcs/view/layout/simple.phtml b/module/Olcs/view/layout/simple.phtml index 01138ed40e..6d34f0476e 100644 --- a/module/Olcs/view/layout/simple.phtml +++ b/module/Olcs/view/layout/simple.phtml @@ -33,4 +33,4 @@ - \ No newline at end of file +