HTML differs when admin is logged in as another user

HTML differs when admin is logged in as another user

by Rene Hamburger -
Number of replies: 0

Hi there,

I've just encountered a very strange issue: the served HTML of a single Moodle page was slightly but consistently different when viewed directly with a student account and when viewed as an admin logged in as that student.

You can see the difference in the attached screenshot: the tags `<figure>` and `<figurecaption>` are missing when impersonating the student! These tags are already missing in the http response.

I'm currently using Moodle 3.9.2.

Before posting this as a bug in the issue tracker, I just wanted to see if this is a known issue.

Thanks,
Rene




Attachment Moodle-Log-In-As-HTML-Issue.png
Average of ratings: -