mirror of
https://github.com/Yetangitu/owncloud-apps.git
synced 2025-10-02 14:49:17 +02:00
files_opds: who on earth writes overlong copyright statements in metadata? Cap it to 256 characters...
This commit is contained in:
parent
3fbee24f8e
commit
ecd5855990
2 changed files with 3 additions and 3 deletions
|
@ -92,7 +92,7 @@ class Meta
|
|||
$meta['language'],
|
||||
$meta['publisher'],
|
||||
preg_replace('/[^0-9xX]/','',$meta['isbn']),
|
||||
$meta['copyright'],
|
||||
mb_strimwidth($meta['copyright'],0,252,'...'),
|
||||
mb_strimwidth($meta['description'],0,2044,'...'),
|
||||
$meta['subjects'],
|
||||
$meta['cover'],
|
||||
|
@ -111,7 +111,7 @@ class Meta
|
|||
$meta['language'],
|
||||
$meta['publisher'],
|
||||
preg_replace('/[^0-9xX]/','',$meta['isbn']),
|
||||
$meta['copyright'],
|
||||
mb_strimwidth($meta['copyright'],0,252,'...'),
|
||||
mb_strimwidth($meta['description'],0,2044,'...'),
|
||||
$meta['subjects'],
|
||||
$meta['cover'],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue