0.1.3: do not double escape entities in text or attributes. Added unit tests