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  


 [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