HTML-waware character truncation.
Character truncation on word boundaries.