From 4f890c431c6fb5f83e047eebcea7f078cb1c9d5c Mon Sep 17 00:00:00 2001 From: Maximilian Walter Date: Sat, 14 Sep 2024 15:31:56 +0200 Subject: [PATCH] Limit short-name for OpenSearch XML to 16 characters The specification does not allow more than 16 characters. --- resources/views/misc/opensearch.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/views/misc/opensearch.blade.php b/resources/views/misc/opensearch.blade.php index 2b5a6c143..e83e83c12 100644 --- a/resources/views/misc/opensearch.blade.php +++ b/resources/views/misc/opensearch.blade.php @@ -1,5 +1,5 @@ - {{ setting('app-name') }} + {{ mb_strimwidth(setting('app-name'), 0, 16) }} Search {{ setting('app-name') }} {{ setting('app-icon') ?: url('/icon.png') }} {{ setting('app-icon-180') ?: url('/icon-180.png') }}