Adds escattr() to escape title and alt properties on tags