Opened 12 years ago
Last modified 12 years ago
#245 new defect
Revisit IRC color handling
Reported by: | davidben@mit.edu | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | IRC | Keywords: | |
Cc: |
Description
vasilvv tells me that BarnOwl displays some IRC color codes funny for some MediaWiki thing. It seems we have some regex in BarnOwl::Module::IRC::Connection::strip_irc_formatting to remove colors (with a comment to maybe translate into zephyr colors). Evidently this is missing whatever MediaWiki's thing is doing.
Now that we're using AnyEvent::IRC, we have an AnyEvent::IRC::Util::filter_colors. It's probably as easy as replacing the regex with a call to filter_colors, but someone should probably look into this first to verify it's what we want.
Note: See
TracTickets for help on using
tickets.
The relevant test channel is #en.wikipedia on irc.wikimedia.org.