HTML code for Comment scores is escaped in report card pdf

Bug #702918 reported by Douglas Cerna
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SchoolTool Gradebook
Fix Released
Undecided
Douglas Cerna

Bug Description

I deployed an activity with a Comment scoresystem, graded the activity using the fck editor using rich text, set up the report card layout and and when I generated the report card, a <strong></strong> tag was in the PDF (see attachment).

Related branches

Revision history for this message
Douglas Cerna (replaceafill) wrote :
Revision history for this message
Douglas Cerna (replaceafill) wrote :

Even though the <strong>, <b>, <em> and <i> tags are valid in Reportlab, the rml template (schooltool/gradebook/browser/rml/report_card_rml.pt) needs a content="structure ..." attribute. This seems to fix the problem.

Changed in schooltool.gradebook:
assignee: nobody → Douglas Cerna (replaceafill)
summary: - HTML code for Comment scores is not escaped in report card
+ HTML code for Comment scores is escaped in report card pdf
Changed in schooltool.gradebook:
status: New → Fix Committed
Changed in schooltool.gradebook:
milestone: none → 0.9.0
Changed in schooltool.gradebook:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.