h5p-interactive-video icon indicating copy to clipboard operation
h5p-interactive-video copied to clipboard

Broken icons on some content types

Open azmatksa opened this issue 3 years ago • 6 comments

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 avatar Aug 05 '21 13:08 azmatksa

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>"

azmatksa avatar Aug 05 '21 13:08 azmatksa

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

svishp avatar Aug 05 '21 14:08 svishp

@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.

otacke avatar Aug 05 '21 15:08 otacke

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

azmatksa avatar Aug 05 '21 16:08 azmatksa

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

azmatksa avatar Aug 05 '21 16:08 azmatksa

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)

sr258 avatar Aug 23 '21 18:08 sr258