issue #284: when rendering HTML, use original data attributes