HtmlReportPlugin can't handle single quoted attribute values (Bug #355)

Added by Robin James Kerrison about 3 years ago. Updated about 3 years ago.

Status:New Start date:03/02/2015
Priority:Normal Due date:
Assignee:- % Done:


Category:- Spent time: -
Target version:-
Affected version:1.8.5


When using the HtmlReportPlugin, sources and links are resolved using the ```RetrieveBuildFile``` handler provided their attribute values are wrapped in double quotes, but this is not done for those in single quotes. Eg:

1<link rel="stylesheet" href="style.css" type="text/css">
is fine, but
1<link rel='stylesheet' href='style.css' type='text/css'>
is not.

Single-quoted attribute values are valid HTML according to the W3 spec, so should be handled by the plugin.

This issue is also raised as a question on StackOverflow.


Also available in: Atom PDF