--TEST--
"html_attr" function
--TEMPLATE--
Simple attributes:
Relaxed attribute name escaping:
Appropriate escaping: &\'"' }) }}/>
Empty attribute list:
Using a short ternary:
boolean true attribute:
boolean false attribute:
null attribute value:
empty string attribute value:
ARIA attribute boolean conversion:
data-* attribute handling :
array value concatenation ex. 1:
array value concatenation ex. 2:
inline styles:
style with a plain value:
using a "comma separated token list" attribute:
merging a "comma separated token list" value with more array values:
--DATA--
return []
--EXPECT--
Simple attributes:
Relaxed attribute name escaping:
Appropriate escaping:
Empty attribute list:
Using a short ternary:
boolean true attribute:
boolean false attribute:
null attribute value:
empty string attribute value:
ARIA attribute boolean conversion:
data-* attribute handling :
array value concatenation ex. 1:
array value concatenation ex. 2:
inline styles:
style with a plain value:
using a "comma separated token list" attribute:
merging a "comma separated token list" value with more array values: