ircfmt: Strip eats escaped colour
Closed this issue · 1 comments
A-UNDERSCORE-D commented
ircfmt.Strip()
internally converts \x03
to $c
, and uses it while stripping out colours. This means that if you pass the string test $c of stripping
, you get the result test of stripping
, as the literal $c
is removed from the string as a part of the strip process.
DanielOaks commented
Dodgy, it shouldn't be doing that at all. Thanks for finding the issue!