Fixed: bug on element attributes weren't written as escapaed strings