Drop dependency to KF5Codecs by using the new stripRichText function
Differential Revision: https://phabricator.kde.org/D26757