Skip to content

Commit 9a00e50

Browse files
authored
Merge pull request #79 from visruth/patch-3
Modification to prepend html5 doctype
2 parents f4bb777 + 796e926 commit 9a00e50

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/net/itarray/automotion/internal/HtmlReportBuilder.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ private void writeReport(String reportName) throws IOException, ParseException {
5858

5959
private Html buildHtml() throws IOException, ParseException {
6060
return new Html(null, new Style("background-color: rgb(255,250,250)")) {{
61+
super.setPrependDocType(true);
6162
new Head(this) {{
6263
new TitleTag(this) {{
6364
new NoTag(this, "Automotion report");

0 commit comments

Comments
 (0)