Fix issue #228

Fix issue from request #228 that click events were not working when HTML code was embedding in a title. Also fixed CI build errors from original request.