Ticket #359 (closed defect: fixed)
pretty_log: escape HTML entities
|Reported by:||kparal||Owned by:||pschindl|
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.