Added support for data attributes

Now it also takes care of data attributes:

<div data-foo="foo">

Signed-off-by: Herve Tatche <herve.tatche@gmail.com>