From 7e3daef91a163cfc9d98ce4fa0fb37bb1c0b41e9 Mon Sep 17 00:00:00 2001 From: Jay George Date: Wed, 14 Jan 2026 13:37:44 +0000 Subject: [PATCH 1/4] Remove the obsolete X-UA-Compatible meta tag. It was only needed for older Internet Explorer versions, which are no longer supported. Modern browsers don't require it. --- resources/views/partials/head.blade.php | 1 - 1 file changed, 1 deletion(-) diff --git a/resources/views/partials/head.blade.php b/resources/views/partials/head.blade.php index 83c36ddc6ef..56bbad6beda 100644 --- a/resources/views/partials/head.blade.php +++ b/resources/views/partials/head.blade.php @@ -3,7 +3,6 @@ @endphp - From ce985ebd40269aca7398f1d00b58406f6306719a Mon Sep 17 00:00:00 2001 From: Jay George Date: Wed, 14 Jan 2026 13:51:15 +0000 Subject: [PATCH 2/4] Remove trailing slash on void elements as it interacts badly with unquoted attribute values. --- .storybook/preview-head.html | 2 +- resources/views/partials/head.blade.php | 16 ++++++++-------- src/Tags/Theme.php | 2 +- tests/Tags/ThemeTagsTest.php | 2 +- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.storybook/preview-head.html b/.storybook/preview-head.html index c9452f63a7b..9338f755bda 100644 --- a/.storybook/preview-head.html +++ b/.storybook/preview-head.html @@ -5,7 +5,7 @@ - + diff --git a/resources/views/partials/head.blade.php b/resources/views/partials/head.blade.php index 56bbad6beda..14a4f2001e8 100644 --- a/resources/views/partials/head.blade.php +++ b/resources/views/partials/head.blade.php @@ -2,16 +2,16 @@ use function Statamic\trans as __; @endphp - - - + + + @if (Statamic::pro() && config('statamic.cp.custom_favicon_url')) @include('statamic::partials.favicon', ['favicon_url' => config('statamic.cp.custom_favicon_url')]) @else - - + + @endif @@ -32,16 +32,16 @@ {{ Statamic::cpViteScripts() }} @if (Statamic::pro() && config('statamic.cp.custom_css_url')) - + @endif @foreach (Statamic::availableExternalStyles(request()) as $url) - + @endforeach @foreach (Statamic::availableStyles(request()) as $package => $paths) @foreach ($paths as $path) - + @endforeach @endforeach diff --git a/src/Tags/Theme.php b/src/Tags/Theme.php index 808bc101edf..3990992c2c6 100644 --- a/src/Tags/Theme.php +++ b/src/Tags/Theme.php @@ -102,7 +102,7 @@ public function css() $url = $this->themeUrl($path); if ($this->params->bool('tag')) { - return ''; + return ''; } return $url; diff --git a/tests/Tags/ThemeTagsTest.php b/tests/Tags/ThemeTagsTest.php index 0c57b50caef..cdfc557e3a9 100644 --- a/tests/Tags/ThemeTagsTest.php +++ b/tests/Tags/ThemeTagsTest.php @@ -83,7 +83,7 @@ public function testOutputsNamedCssWithAppendedExtension() public function testOutputsCssTag() { $this->assertEquals( - '', + '', $this->tag('{{ theme:css src="style" tag="true" }}') ); } From 12b8947b2063504ec20a305585328059910743e7 Mon Sep 17 00:00:00 2001 From: Jay George Date: Wed, 14 Jan 2026 14:01:58 +0000 Subject: [PATCH 3/4] Remove some other trailing slashes as recommended by validator --- resources/views/extend/forms/fields/hidden.antlers.html | 2 +- resources/views/forms/automagic-email.antlers.html | 2 +- resources/views/graphql/graphiql.blade.php | 8 ++++---- resources/views/partials/favicon.antlers.html | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/resources/views/extend/forms/fields/hidden.antlers.html b/resources/views/extend/forms/fields/hidden.antlers.html index e9d606eb567..0852918a5d9 100644 --- a/resources/views/extend/forms/fields/hidden.antlers.html +++ b/resources/views/extend/forms/fields/hidden.antlers.html @@ -3,4 +3,4 @@ type="hidden" name="{{ name }}" value="{{ value }}" -/> +> diff --git a/resources/views/forms/automagic-email.antlers.html b/resources/views/forms/automagic-email.antlers.html index 78324821aeb..07d07b2877d 100644 --- a/resources/views/forms/automagic-email.antlers.html +++ b/resources/views/forms/automagic-email.antlers.html @@ -21,5 +21,5 @@ {{ value | nl2br }} {{ /if }} {{ /if }} -
+
{{ /fields }} diff --git a/resources/views/graphql/graphiql.blade.php b/resources/views/graphql/graphiql.blade.php index 8da47779ff5..bbfe8b5abb0 100644 --- a/resources/views/graphql/graphiql.blade.php +++ b/resources/views/graphql/graphiql.blade.php @@ -1,8 +1,8 @@ - - + + GraphiQL ‹ Statamic