Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 2.3.1

Request #21051 Keep case
Submitted: 2016-04-11 16:35 UTC
From: mansion Assigned:
Status: Open Package: HTML_Common2 (version 2.1.1)
PHP Version: Irrelevant OS: linux
Roadmaps: (Not assigned)    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 29 + 18 = ?

 
 [2016-04-11 16:35 UTC] mansion (Bertrand Mansion)
Description: ------------ The library does strtolower on every attributes name. The html5 standard does not require lowercase names. Some libraries, like Angular2, use case data to parse the templates, so they won't work with html produced by html_common2 because they won't find the expected attributes. Test script: --------------- $element->setAttribute('ngControl', 'test'); Expected result: ---------------- ngControl="test" Actual result: -------------- ngcontrol="test"

Comments