Tabs, carriage returns and line feeds in attribute values currently do not survive a round-trip through serialization (see w3c/DOM-Parsing#59). It looks like Chrome, Firefox and Edge deviate from the spec and do escape these characters such that they can round-trip cleanly. We should probably do the same.
Tabs, carriage returns and line feeds in attribute values currently do not survive a round-trip through serialization (see w3c/DOM-Parsing#59). It looks like Chrome, Firefox and Edge deviate from the spec and do escape these characters such that they can round-trip cleanly. We should probably do the same.