move line number to data attribute