Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Duplicate
-
Affects Version/s: 3.7.1
-
Fix Version/s: None
-
Component/s: HTML and CSS
-
Labels:None
-
Affected Branches:MOODLE_37_STABLE
Description
When creating a course, we have discovered that if we include styles in our HTML it looks fine to the people who are logged in.
However, if an admin does a "Log in As", styles tags are removed.
How to duplicate issue:
- Set default editor to Plain Text
- Create a label.
- Give it the code "<style>#testspan { font-size: 30px; }</style><span id="testspan">Test</span>"
- Save and view. Confirm that large Test prints out.
- Log in as another user in the course.
- See that the word Test is now smaller.
- View HTML and see that the styles have been removed.
Attachments
Issue Links
- duplicates
-
MDL-65813 Embedded media are broken for 'Login as' functionality
-
- Open
-