Journal History Reports Errors for HTML Formatted Journal Entries

Description

Journal Entries that contain journal comments with certain HTML formatting such as colors and font changes causes the Journal History Report to not be generated properly.

Since the Email Student tool can now create a Journal Entry that contains the body of the email, this will also affect the Journal History Report.

To test this, create a journal entry for a student and change the font, color, etc. of the comment field with the HTML editor. Save the journal entry and click the journal history link. The PDF is generated but the journal entry comments are not display and any older journal entries are not display.

Here is a sample of the journal entry comment field as raw HTML that was used to identify the problem:

<br><br><div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: small; text-align: center;"><font color="#0b5394" face="georgia, serif">As finals are approaching, I thought it would be helpful to share this test anxiety presentation with you all. Please check it out at the link below!&nbsp;</font></div><div style="font-family: arial, sans-serif; font-size: small; text-align: center;"><font face="georgia, serif"><br></font></div><div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: small; text-align: center;"><font style="background-color: rgb(142, 124, 195);" color="#ffffff" face="georgia, serif">Good luck on finals!!</font></div><div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: small; text-align: center;"><font style="background-color: rgb(142, 124, 195);" color="#ffffff" face="georgia, serif"><br></font></div><div class="gmail_default" style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: small; text-align: center;"><font color="#000000" face="georgia, serif">https://vimeo.com/245977958</font></div>

Environment

None

Status

Assignee

Michael Sultzaberger

Reporter

Michael Sultzaberger

Labels

None

Estimated End Date

None

Components

Fix versions

Affects versions

Priority

Minor
Configure