-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
4.1.7, 4.2.3
-
MOODLE_401_STABLE, MOODLE_402_STABLE
If we use the \( \) or \[ \] delimiters inside a <textarea> tag in the HTML code of any text field, Moodle inserts and displays <span class="nolink"></span> in the textarea box.
This result is unexpected, undocumented and unnecessary. Indeed, a textarea contains only characters. <span class="nolink"></span> inside a textarea isn't even a tag, it's just extraneous characters that cannot be of any use.
For example, the HTML code <textarea>\[ Hello! \]</textarea> displays <span class="nolink">\[ Hello! \]</span> in a textarea box. This is abnormal behavior. The textarea box should only display \[ Hello! \]. The <span class="nolink"></span> characters have no reason to be displayed in the textarea box.
Note that this bug occurs whether we use any editor, i.e. TinyMCE, Atto and even Plain text area.