Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Make validation of block html tags and attributes case insensitive #19207
Fixes #18666 by lower casing html tags and attributes before comparison is done.
How has this been tested?
Have tested manually by modifying html tag and attribute casing in the block editor 'code editor' view and then switching back to 'visual editor' view. Have also updated the existing unit test to cover case differences
Types of changes
Adds lower casing of strings before comparison checks are done.