From 56713e560f0ec1f90c75c23ccd879f89a90f77f0 Mon Sep 17 00:00:00 2001 From: Dan Miller Date: Mon, 14 Apr 2014 17:20:14 +0000 Subject: [PATCH] ensure that text is ignored outside of a block inside of a parent tag --- test/Mustache/Test/Functional/InheritanceTest.php | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/test/Mustache/Test/Functional/InheritanceTest.php b/test/Mustache/Test/Functional/InheritanceTest.php index 2c57936..1f5dd97 100644 --- a/test/Mustache/Test/Functional/InheritanceTest.php +++ b/test/Mustache/Test/Functional/InheritanceTest.php @@ -47,8 +47,7 @@ class Mustache_Test_Functional_InheritanceTest extends PHPUnit_Framework_TestCas array( 'foo' => '{{$baz}}default content{{/baz}}' ), - array( - ), + array(), '{{=}}<%={{ }}=%>{{/foo}}' ) ); @@ -75,6 +74,14 @@ class Mustache_Test_Functional_InheritanceTest extends PHPUnit_Framework_TestCas ), '{{ '{{$baz}}defualt content{{/baz}}' + ), + array(), + '{{