Fix data attribute rendering. Closes #8.