Update stripFormatCodes() for additional formatting characters
authorMichael Marley <michael@michaelmarley.com>
Thu, 1 Mar 2018 22:19:47 +0000 (17:19 -0500)
committerManuel Nickschas <sputnick@quassel-irc.org>
Wed, 7 Mar 2018 09:32:29 +0000 (10:32 +0100)
commit258df63876c8b2b5f3ff14a6fbae14ea0b713457
tree74119c5da8cae860a4a5a3d9a9996cd586a406fc
parent8b8ec8597367d13527e9e7a46e184ee99a7d5f32
Update stripFormatCodes() for additional formatting characters

 - \x04 for hex color (IRCCloud)
 - \x11 for monospace (IRCCloud)
 - \x1e for strikethrough (Textual)

This patch does not actually add support for rendering those
styles, but at least ensures that highlighting still works
correctly if they are used.

Closes GH-337.
src/common/util.cpp