fixup newline data attributes
fixup space data attributes