Use preg_replace_callback
Asigning NULL value to data attribute is interpreted as unset.
Improve tests
Html: removed support for simple data attribute (BC break).
The content of custom data attributes is now separated from other attributes.
Deprecated stuff?
deprecate