diff --git a/main/src/com/google/refine/exporters/HtmlTableExporter.java b/main/src/com/google/refine/exporters/HtmlTableExporter.java
index 2f14ba12c..1c4163ee2 100644
--- a/main/src/com/google/refine/exporters/HtmlTableExporter.java
+++ b/main/src/com/google/refine/exporters/HtmlTableExporter.java
@@ -61,9 +61,12 @@ public class HtmlTableExporter implements WriterExporter {
public void startFile(JSONObject options) {
try {
writer.write("\n");
- writer.write("
");
+ writer.write("\n");
+ writer.write("");
writer.write(ProjectManager.singleton.getProjectMetadata(project.id).getName());
- writer.write("\n");
+ writer.write("\n");
+ writer.write("\n");
+ writer.write("\n");
writer.write("\n");
writer.write("\n");
diff --git a/main/tests/server/src/com/google/refine/tests/exporters/HtmlExporterTests.java b/main/tests/server/src/com/google/refine/tests/exporters/HtmlExporterTests.java
index bf3fbd50d..47b38ca0e 100644
--- a/main/tests/server/src/com/google/refine/tests/exporters/HtmlExporterTests.java
+++ b/main/tests/server/src/com/google/refine/tests/exporters/HtmlExporterTests.java
@@ -117,7 +117,9 @@ public class HtmlExporterTests extends RefineTest {
}
Assert.assertEquals(writer.toString(), "\n" +
- "" + TEST_PROJECT_NAME + "\n" +
+ "\n" + "" + TEST_PROJECT_NAME + "\n" +
+ "\n" +
+ "\n" +
"\n" +
"\n" +
"column0 | column1 |
\n" +
@@ -142,7 +144,9 @@ public class HtmlExporterTests extends RefineTest {
}
Assert.assertEquals(writer.toString(), "\n" +
- "" + TEST_PROJECT_NAME + "\n" +
+ "\n" + "" + TEST_PROJECT_NAME + "\n" +
+ "\n" +
+ "\n" +
"\n" +
"\n" +
"row0cell0 | row0cell1 |
\n" +
@@ -167,7 +171,9 @@ public class HtmlExporterTests extends RefineTest {
}
Assert.assertEquals(writer.toString(), "\n" +
- "" + TEST_PROJECT_NAME + "\n" +
+ "\n" + "" + TEST_PROJECT_NAME + "\n" +
+ "\n" +
+ "\n" +
"\n" +
"\n" +
"column0 | column1 | column2 |
\n" +