diff --git a/test/autotests/render/whitespace-normalize-inner-whitespace/expected.html b/test/autotests/render/whitespace-normalize-inner-whitespace/expected.html
new file mode 100644
index 000000000..b9897e289
--- /dev/null
+++ b/test/autotests/render/whitespace-normalize-inner-whitespace/expected.html
@@ -0,0 +1 @@
+
This has extra whitespace
\ No newline at end of file
diff --git a/test/autotests/render/whitespace-normalize-inner-whitespace/template.marko b/test/autotests/render/whitespace-normalize-inner-whitespace/template.marko
new file mode 100644
index 000000000..816c77c39
--- /dev/null
+++ b/test/autotests/render/whitespace-normalize-inner-whitespace/template.marko
@@ -0,0 +1,3 @@
+
+ This has extra whitespace
+
\ No newline at end of file
diff --git a/test/autotests/render/whitespace-normalize-inner-whitespace/test.js b/test/autotests/render/whitespace-normalize-inner-whitespace/test.js
new file mode 100644
index 000000000..c4013b344
--- /dev/null
+++ b/test/autotests/render/whitespace-normalize-inner-whitespace/test.js
@@ -0,0 +1 @@
+exports.templateData = {};
diff --git a/test/autotests/render/whitespace-normalize-inner-whitespace2/expected.html b/test/autotests/render/whitespace-normalize-inner-whitespace2/expected.html
new file mode 100644
index 000000000..8ce937702
--- /dev/null
+++ b/test/autotests/render/whitespace-normalize-inner-whitespace2/expected.html
@@ -0,0 +1,3 @@
+This has extra whitespace
+ This has extra whitespace
+
\ No newline at end of file
diff --git a/test/autotests/render/whitespace-normalize-inner-whitespace2/template.marko b/test/autotests/render/whitespace-normalize-inner-whitespace2/template.marko
new file mode 100644
index 000000000..b092db3a9
--- /dev/null
+++ b/test/autotests/render/whitespace-normalize-inner-whitespace2/template.marko
@@ -0,0 +1,6 @@
+
+ This has extra whitespace
+
+
+ This has extra whitespace
+
\ No newline at end of file
diff --git a/test/autotests/render/whitespace-normalize-inner-whitespace2/test.js b/test/autotests/render/whitespace-normalize-inner-whitespace2/test.js
new file mode 100644
index 000000000..c4013b344
--- /dev/null
+++ b/test/autotests/render/whitespace-normalize-inner-whitespace2/test.js
@@ -0,0 +1 @@
+exports.templateData = {};