Ticket #359 (closed defect: fixed)

Opened 6 years ago

Last modified 6 years ago

pretty_log: escape HTML entities

Reported by: kparal Owned by: pschindl
Priority: major Milestone: 0.6.0
Component: core Keywords:
Cc: Blocked By:


Currently we copy all test output into the PrettyLog? verbatim. It also applies for summary, ID, highlights and pretty much everything. But if some of that text contains HTML entities, it creates invalid HTML page and breaks the report (different browsers may display it differently). Example: Try populating test summary with word '<undefined>'. The browser will consider it an unknown tag and don't display it at all.

We need to escape all text we take over before putting it into HTML log.

Change History

comment:1 Changed 6 years ago by pschindl

  • Owner set to pschindl
  • Status changed from new to assigned

comment:2 Changed 6 years ago by pschindl

comment:3 Changed 6 years ago by pschindl

  • Status changed from assigned to closed
  • Resolution set to fixed
  • Milestone changed from Finger Food to 0.6.0
Note: See TracTickets for help on using tickets.