bug#43328: [PATCH] Make ERC desktop notifications lenient to invalid XML
Currently, ‘erc-notifications-notify’ signals an error if the message
contains invalid XML characters. These characters can be either either
IRC control codes (e.g., ^B for bold text or ^C6,12 for colored text) or
just plain invalid data.
This patch changes the behavior so that they are stripped instead. To
test, try sending yourself a message such as
/msg <nick> ^BHi!
where <nick> is your own nick. The current version will signal an error
whereas this patch won’t.