Set checksum attribute back after reading outerHTML
Fixing linebreaks