Clicking channel names to join broke because of angular issue 9515. Reimplement the functionality by binding the scope.openBuffer method to the window and calling it from an onclick handler for channel name anchors.
irclinky no longer does escaping itself, that is now done by DOMfilter. Adapt the test case to reflect this change.