Added support for custom data attribute export
for html