We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If you enter text in the field "Autor comments" and hit Enter a new line is generated, like here
In the JSON is then
"authorComments":"Test\nTest"
As long as the h5p stays in your LMS no problem, but when you try to import in another sytem it fails
I think the error is in https://github.com/h5p/h5p-php-library/blob/master/h5p.classes.php
'authorComments' => '/^.{1,5000}$/',
When you try it here https://regex101.com/r/IS3lUT/1 it finds no match. When you remove the second line, it matches again.
I've tried in course presentation and Find the words, in both this error occurs.
The text was updated successfully, but these errors were encountered:
@JsBergbau I agree, the regular expression doesn't cover this case. Would your mind creating a pull request to fix the issue?
Sorry, something went wrong.
Done #97
@JsBergbau Cool! Hope the H5P core team will find time to take care of it soon.
No branches or pull requests
If you enter text in the field "Autor comments" and hit Enter a new line is generated, like here
In the JSON is then
As long as the h5p stays in your LMS no problem, but when you try to import in another sytem it fails
I think the error is in https://github.com/h5p/h5p-php-library/blob/master/h5p.classes.php
When you try it here https://regex101.com/r/IS3lUT/1 it finds no match. When you remove the second line, it matches again.
I've tried in course presentation and Find the words, in both this error occurs.
The text was updated successfully, but these errors were encountered: