diff --git a/h5p.classes.php b/h5p.classes.php index f0e1114..58862eb 100644 --- a/h5p.classes.php +++ b/h5p.classes.php @@ -669,7 +669,7 @@ class H5PValidator { 'author' => '/^.{1,255}$/', 'log' => '/^.{1,5000}$/' ), - 'authorComments' => '/^.{1,5000}$/', + 'authorComments' => '/^.{1,5000}$/s', 'w' => '/^[0-9]{1,4}$/', 'h' => '/^[0-9]{1,4}$/', // deprecated