Add missing XML declaration to OpenSearch endpoint

This commit is contained in:
Maximilian Walter 2024-09-14 16:13:17 +02:00
parent a5b031f906
commit 1302e3c959
No known key found for this signature in database

View File

@ -1,3 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/"> <OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
<ShortName>{{ mb_strimwidth(setting('app-name'), 0, 16) }}</ShortName> <ShortName>{{ mb_strimwidth(setting('app-name'), 0, 16) }}</ShortName>
<Description>{{ trans('common.opensearch_description', ['appName' => setting('app-name')]) }}</Description> <Description>{{ trans('common.opensearch_description', ['appName' => setting('app-name')]) }}</Description>