add a test that changes delimiters all over the place... inside and outside sections.
This commit is contained in:
@@ -81,8 +81,6 @@ And render it:
|
||||
Known Issues
|
||||
------------
|
||||
|
||||
* Things get weird when you change delimiters inside a section -- `delimiters` example currently fails with an
|
||||
"unclosed section" exception.
|
||||
* As of v1.1.2, there are a couple of whitespace bugs around section tags... Despite these failing tests, this
|
||||
version is actually *closer* to correct than previous releases.
|
||||
|
||||
|
||||
@@ -410,6 +410,7 @@ class MustacheTest extends PHPUnit_Framework_TestCase {
|
||||
$this->assertEquals('{{ result }}', $m->render('{{=[[ ]]=}}{{ result }}[[={{ }}=]]'));
|
||||
$this->assertEquals('{{ result }}', $m->render('{{=[[ ]]=}}[[#result]]{{ result }}[[/result]]'));
|
||||
$this->assertEquals('{{ result }}', $m->render('{{=[[ ]]=}}[[#result]]{{ result }}[[/result]][[={{ }}=]]'));
|
||||
$this->assertEquals('{{ result }}', $m->render('{{#result}}{{=[[ ]]=}}{{ result }}[[/result]][[^result]][[={{ }}=]][[ result ]]{{/result}}'));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user