Author comments can contain linebreaks

pull/97/head
JsBergbau 2020-12-08 21:02:13 +01:00 committed by GitHub
parent 1a644dda11
commit 9ada5a3148
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -669,7 +669,7 @@ class H5PValidator {
'author' => '/^.{1,255}$/', 'author' => '/^.{1,255}$/',
'log' => '/^.{1,5000}$/' 'log' => '/^.{1,5000}$/'
), ),
'authorComments' => '/^.{1,5000}$/', 'authorComments' => '/^.{1,5000}$/s',
'w' => '/^[0-9]{1,4}$/', 'w' => '/^[0-9]{1,4}$/',
'h' => '/^[0-9]{1,4}$/', 'h' => '/^[0-9]{1,4}$/',
// deprecated // deprecated