Text elements and attribute values needs to be escaped