-
Improvement
-
Resolution: Fixed
-
Minor
-
3.7.1
-
MOODLE_37_STABLE
-
MOODLE_38_STABLE
-
MDL-66226-master-2 -
-
1
-
Sprint 7 - Race to the freeze
From discussion with michaelh:
I think the reason is that you wouldn't want things like <h1> showing massive text within the summary pane, though maybe it needs to just strip any HTML and show plaintext (maybe with the exception of an emote showing the actual icon)
See following example:
Should be able to do this here:
https://github.com/moodle/moodle/blob/master/message/amd/src/message_drawer_view_overview_section.js#L601
Acceptance Criteria:
- Display either the text value, alt tag, title, element type (in that order of priority), falling back to a generic message ("Media content") if we can't match the above.