Debug html entities encoding

Encode entities before saving and reset them on loading card.