Open
Description
As SVG content must be in XML format it must be excluded from HTML validation.
Preconditions
- Installed Magento Coding Standard V19 or above
Steps to reproduce
- Add inline svg to test.html file
- Run
vendor/bin/phpcs --severity=10 --standard=Magento2 --ignore-annotations test.html
Expected result
- No errors appear
Actual result
- Errors are appear
Avoid using self-closing tag with non-void html element -<rect x="12" width="439" height="344" fill="url(#pattern0)"/>