]> git.eshelyaron.com Git - emacs.git/commit
Make ERC desktop notifications lenient to invalid XML characters
authorDario Gjorgjevski <dario.gjorgjevski@gmail.com>
Sun, 13 Sep 2020 14:49:00 +0000 (16:49 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Sun, 13 Sep 2020 14:49:00 +0000 (16:49 +0200)
commit2bd41321a6d9f6b478dd73aa9a2ea32709e57b32
tree94e1b56650a565b2fe8d47bc01fa4618db45db2f
parentdef34a20766ea5179afd5e5ed090a2b86fcccb5e
Make ERC desktop notifications lenient to invalid XML characters

* lisp/xml.el (xml-invalid-characters-re): New constant.

* lisp/erc/erc-desktop-notifications.el
(erc-notifications-notify): Strip IRC control codes and invalid
XML characters before notifying (bug#43328).
lisp/erc/erc-desktop-notifications.el
lisp/xml.el