Bug when edit free style text that contains html tags