Fix handling of {unwrap} tags in word_wrap() functions

* in Email library: these tags were not removed
* in text helper: simplified code
2 files changed