lib/rdoc/generator/template/darkfish/js/search.js in rdoc-6.4.1.1 vs lib/rdoc/generator/template/darkfish/js/search.js in rdoc-6.5.0

- old
+ new

@@ -99,10 +99,10 @@ replace(/\u0001/g, '<em>'). replace(/\u0002/g, '</em>'); } this.escapeHTML = function(html) { - return html.replace(/[&<>]/g, function(c) { + return html.replace(/[&<>"`']/g, function(c) { return '&#' + c.charCodeAt(0) + ';'; }); } });