EscolaLMS / H5P

Headless H5P Laravel REST API
MIT License
23 stars 21 forks source link

All content disappears when any text field contains the "\" character #214

Open ysd-wilson opened 1 week ago

ysd-wilson commented 1 week ago

Hello, I made a test on: https://h5p-laravel-demo.stage.etd24.pl

  1. Create new elements/edit content
  2. Content type: Interactive Video
  3. Enter a string containing the "\" character in any field such as "Title" field
  4. Save
  5. Reload the editing page and all content will disappear
qunabu commented 1 week ago

can you confirm it is working fine on other h5p like h5p.com ?

ysd-wilson commented 6 days ago

@qunabu Yes, I tested on h5p.com and it works fine.

2024-11-11 9 09 37

I first encountered this problem when I was testing "drag the words" and saw the example in the instructions. The example below contains the "\" character.

2024-11-11 9 10 33