mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-04-03 20:35:28 +00:00
Limit short-name for OpenSearch XML to 16 characters
The specification does not allow more than 16 characters.
This commit is contained in:
parent
c110a97d8a
commit
4f890c431c
1 changed files with 1 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
|
||||
<ShortName>{{ setting('app-name') }}</ShortName>
|
||||
<ShortName>{{ mb_strimwidth(setting('app-name'), 0, 16) }}</ShortName>
|
||||
<Description>Search {{ setting('app-name') }}</Description>
|
||||
<Image width="256" height="256" type="image/png">{{ setting('app-icon') ?: url('/icon.png') }}</Image>
|
||||
<Image width="180" height="180" type="image/png">{{ setting('app-icon-180') ?: url('/icon-180.png') }}</Image>
|
||||
|
|
Loading…
Add table
Reference in a new issue