diff --git a/plugin/compiler.js b/plugin/compiler.js
index 4117235..237bfd3 100644
--- a/plugin/compiler.js
+++ b/plugin/compiler.js
@@ -130,6 +130,10 @@ _.extend(Compiler.prototype, {
if (! HTML.isTagEnsured(tagName))
self.throwError("Unknow tag: " + tagName, node);
+ // Interpose a new line between children
+ for (var i = content.length - 1; i > 0; i--)
+ content.splice(i, 0, "\n");
+
if (! _.isEmpty(attrs))
content.unshift(attrs);
diff --git a/tests/match.html b/tests/match.html
index fcff115..9a5cd45 100644
--- a/tests/match.html
+++ b/tests/match.html
@@ -18,6 +18,9 @@
Hello world
+Hello
+world
+
diff --git a/tests/match.jade b/tests/match.jade
index 858a249..54be5fa 100644
--- a/tests/match.jade
+++ b/tests/match.jade
@@ -39,6 +39,11 @@ template(name="match-jade-justText-1")
//- template(name="match-jade-justText-3")
//- = 'Hello world'
+template(name="match-jade-multipleChildren")
+ p
+ | Hello
+ | world
+
//- Template helpers
template(name="match-jade-tagHelper")