Stripping newlines from special attribute values