gocodebox / lifterlms

LifterLMS, a WordPress LMS Solution: Easily create, sell, and protect engaging online courses.
https://lifterlms.com
GNU General Public License v3.0
181 stars 135 forks source link

Incorrect escaping of HTML in the quiz summary #2734

Open brianhogg opened 2 months ago

brianhogg commented 2 months ago

Reproduction Steps

  1. Create a quiz with bold, italic and/or underline formatting in a quiz question (by highlighting the text and then selecting B, I or U)
  2. Take the quiz as a student. Note how the formatting is correct while taking the quiz.
  3. Finish the quiz.
  4. View the quiz results.

Expected Behavior

The formatting is correct in the quiz results.

Actual Behavior

The HTML is escaped.

Captura de pantalla 2024-08-19 a las 7 46 09 a  m

This issue has be recreated: