PHP Classes

File: Library/vendor/twig/twig/test/Twig/Tests/Fixtures/filters/escape_html_attr.test

Recommend this page to a friend!
  Classes of Duong Huynh Nghia   Lego PHP   Library/vendor/twig/twig/test/Twig/Tests/Fixtures/filters/escape_html_attr.test   Download  
File: Library/vendor/twig/twig/test/Twig/Tests/Fixtures/filters/escape_html_attr.test
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Lego PHP
Blog and shopping cart system
Author: By
Last change:
Date: 7 years ago
Size: 204 bytes
 

Contents

Class file image Download
--TEST-- "escape" filter does not escape with the html strategy when using the html_attr strategy --TEMPLATE-- {{ '<br />'|escape('html_attr') }} --DATA-- return array() --EXPECT-- &lt;br&#x20;&#x2F;&gt;