w3c minor error whitespace at start of property
-
Great works very well !
The only issue I have is with the minor w3c validation error I get due to this bit of code adding space at the beginning of a property:
$args['container_class'].= ' responsiveSelectContainer';
$args['menu_class'].= ' responsiveSelectFullMenu';
The resulting browser source looks like this:
<div class=" responsiveSelectContainer">
notice the space at the beginning of the property.
W001: There should not be any white space at the start or end of an attribute’s value. This is a minor issue and can probably be ignored. See https://www.w3.org/TR/html4/types.html#type-id
It’s such a minor error that the w3c HTML5 validator doesn’t raise the error or even warning, but perhaps it will in the future.
I tried removing the whitespace in the plugin, but that broke the plugin functionality.
Is there a minor fix I could try ?
- The topic ‘w3c minor error whitespace at start of property’ is closed to new replies.