What does "undo HTML entites" mean?  Can you make this comment more clear?  Also, you have an extra space on the following line between "being" and "applied".