Fix twig_first and twig_last filters for UTF8 multibyte strings
authorKirill chEbba Chebunin <iam@chebba.org>
Thu, 31 Oct 2013 16:50:58 +0000 (20:50 +0400)
committerFabien Potencier <fabien.potencier@gmail.com>
Sun, 3 Nov 2013 09:11:57 +0000 (10:11 +0100)
commit6003ae43b92cfa7e1ddec17262733355e0bf435a
treeecfae8593521d8f27c2d527f05071391eccb21a0
parent726a40a1b407c6f2ae675a25dcb24b8ce024559a
Fix twig_first and twig_last filters for UTF8 multibyte strings
lib/Twig/Extension/Core.php
test/Twig/Tests/Fixtures/filters/first.test
test/Twig/Tests/Fixtures/filters/last.test