h5p / h5p-interactive-video

MIT License
234 stars 207 forks source link

Broken icons on some content types #195

Open azmatksa opened 3 years ago

azmatksa commented 3 years ago

Hi,

I'm facing an issue on Moodle 3.11, Icons that are related to Interactive Video, Memory Game, Question set, Speak the words are not displaying icons.

I also test with delete and update the content type but still broken icons are showing.

image

Related forum: https://moodle.org/mod/forum/discuss.php?d=424785#p1713131

azmatksa commented 3 years ago

We also noticed that when access directly the icon link, it says "error on line 88 at column 173: Unescaped '<' not allowed in attributes values"

image

Also we noticed icon.svg contains code like this data-name="<Group>"

svishp commented 3 years ago

Yes I too face the same broken icon display in Content bank

otacke commented 3 years ago

@svishp @azmatksa You are not using the H5P plugin for moodle that was created by the H5P core team, but you are using the moodle core integration of H5P that was created by the moodle team and ships with moodle automatically. I suggest you report your problem in moodle's bug tracker.

azmatksa commented 3 years ago

Thanks @otacke, you right its apparently a Moodle version issue, I'll create in Moodle tracker.

azmatksa commented 3 years ago

@svishp I created issue in tracker, please vote it. https://tracker.moodle.org/browse/MDL-72294

sr258 commented 3 years ago

It also happens in Joubel‘s version. I believe it is caused by a Moodle filter that inserts strings into the svgs. (An emoji filter in our case)