-
Bug
-
Resolution: Fixed
-
Minor
-
2.9.3, 3.1.4, 3.6, 3.10.1
-
MOODLE_29_STABLE, MOODLE_310_STABLE, MOODLE_31_STABLE, MOODLE_36_STABLE
-
MOODLE_310_STABLE, MOODLE_39_STABLE
-
MDL-52724-master -
Hello,
Is it possible that version 2.9.3+ no longer generates the <ul> & </ul> tags within labels in Moodle?
The trouble arises when someone either pastes or manually enters the tag “<li>” within a label in Moodle. When using the bullet point button in the ATTO editor, the necessary “<ul>” tag is added to make an ordered list; however, sometimes the “<ul>” tag is either unwittingly deleted by the user within the html view, or is never present because of text copied and pasted from an alternative source. This means that all content following the defective tag will be changed to that of an ordered list, including blocks and such, which causes significant and startling changes to any course site.
Ex of problem code:
<div style="width: 90%; padding: 5px 0px; border-top: 4px solid #c00; border-bottom: 2px solid #c00;">
<p style="font-size: 1.5em; border-bottom: 1px solid #a0a0a0; padding: 0 0 5px 0; margin: 0 0 5px 0;">[Course Section(s), Building(s) and Room(s), Time]</p>
<p style="font-size: 1.2em; margin: 0 0 0 0;"><strong>Instructor:</strong> [Your Name] [email@iastate.edu] <br> <strong>Office:</strong> [Your office building and room] <br><strong>Office Hours:</strong> [Your office hours]</p>
</div>
<li></li>
Ex of working code
<div style="width: 90%; padding: 5px 0px; border-top: 4px solid #c00; border-bottom: 2px solid #c00;">
<p style="font-size: 1.5em; border-bottom: 1px solid #a0a0a0; padding: 0 0 5px 0; margin: 0 0 5px 0;">[Course Section(s), Building(s) and Room(s), Time]</p>
<p style="font-size: 1.2em; margin: 0 0 0 0;"><strong>Instructor:</strong> [Your Name] [email@iastate.edu] <br> <strong>Office:</strong> [Your office building and room] <br><strong>Office Hours:</strong> [Your office hours]</p>
</div>
<ul><li></li></ul>
We have a backup version of Moodle using running on version 2.8.6, which does not have this issue. In other words, it automatically generates the <ul> & </ul> tags regardless of how I meddle with it. This issue occurs regardless of theme and with or without our custom CSS style sheet.
Is there any way I can restore the previous functionality so as to make the system more user friendly for our instructors? Thank you kindly.