").attr("href", "#" + $this.attr('id')).text(String.fromCharCode("182")); $this.append($link.hide()).hover(function() { $link.show(); }, function() { $link.hide(); }); }); $("#example-tabs + .tabs-content pre.highlight > code, #example-tabs .accordion-content pre.highlight > code").each(function() { $(this).html($(this).html().split(/\n/).map(function (line) { return /hts|wts/.test(line) ? "" + line + "" : line; }).join('\n')); });