lib: added data- to missing data attribute in markupgenerator.