Correctly strip HTML tags from content when measuring length
Merge pull request #164 from unepwcmc/fix-text-edit

Correctly strip HTML tags from content when measuring length