diff --git a/app/template.php b/app/template.php
index 41cdfc2..cf2c02c 100644
--- a/app/template.php
+++ b/app/template.php
@@ -255,6 +255,10 @@ function get($f3) {
trim($tpl->render('templates/test5.3.htm')) === '10',
'test unmatching tag cases'
);
+ $test->expect(
+ ($x=preg_replace('/(\s)*/', '', trim($tpl->render('templates/test5.4.htm')))) === '1010',
+ 'test multiline tags'. $x
+ );
$f3->clear('cond1');
$f3->set('test',['string'=>'thin','int'=>123,'bool'=>FALSE]);
$test->expect(
diff --git a/ui/templates/test5.4.htm b/ui/templates/test5.4.htm
new file mode 100644
index 0000000..652af2e
--- /dev/null
+++ b/ui/templates/test5.4.htm
@@ -0,0 +1,20 @@
+
+1
+
+
+ 1
+ 0
+
+
+ 1
+ 0
+
+
+ 1
+ 0
+
\ No newline at end of file