# Filtered content is unusable in too many areas of Moodle

XMLWordPrintable

#### Details

• Bug
• Status: Open
• Minor
• Resolution: Unresolved
• 3.11.1, 3.11.2, 4.0
• None
• MOODLE_311_STABLE, MOODLE_400_STABLE
• Hide

Emails:

1. Create a forum
2. Be sure that you are subscribed to the forum so that you receive emails.
3. Create a discussion and include the following LaTeX

  $$x^2+4$$

4. In the Advanced area, be sure to check the "Send forum post notifications with no editing-time delay".
5. Submit the discussion.
6. See that in the discussion, the code is run through a filter and is rendered as math.
7. See that the code is still shown as code in the email received.

Annotations

1. Make sure that the pdf generation for grading will occur (unoconv, onedrive, amazon, etc) on the system
2. Create an assignment with Online Text as a submission type.
3. Login as a student and submit the following LaTeX

  $$x^2+4$$

4. Submit the assignment.
5. Login in as a teacher and go to the annotating grader interface.
6. See that the code is shown in the pdf annotator instead of the rendered math version.

Data Exports

3. As a teacher, create a Page with the following content.

  $$x^2+4$$

4. Save the Page.
6. After opening the content downloaded you will see the code instead of its rendered math form.
Show
Emails: Create a forum Be sure that you are subscribed to the forum so that you receive emails. Create a discussion and include the following LaTeX $$x^2+4$$ In the Advanced area, be sure to check the "Send forum post notifications with no editing-time delay". Submit the discussion. See that in the discussion, the code is run through a filter and is rendered as math.  See that the code is still shown as code in the email received. Annotations Make sure that the pdf generation for grading will occur (unoconv, onedrive, amazon, etc) on the system Create an assignment with Online Text as a submission type. Login as a student and submit the following LaTeX $$x^2+4$$ Submit the assignment. Login in as a teacher and go to the annotating grader interface. See that the code is shown in the pdf annotator instead of the rendered math version. Data Exports Make sure that you have the sites Content Downloads enabled. Go to a course that has Content Downloads enabled. As a teacher, create a Page with the following content. $$x^2+4$$ Save the Page. Go to the Course Settings and click Download Content. After opening the content downloaded you will see the code instead of its rendered math form.

#### Description

Filtered content (like math notations) are unusable in important areas like:

Emails / Messaging - any messages or email that are sent (like via the forum or plugins like QuickMail) send the unfiltered notations to the user.

Annotations - grading math answers via assignment text areas are useless with filtered content.

#### Attachments

1. annotations.png
61 kB
28 kB
3. email.png
22 kB
4. image-2021-07-21-16-34-24-446.png
18 kB

#### People

Unassigned
Matthew Davidson
Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie, David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo