diff --git a/lib/doc/browse/index.html b/lib/doc/browse/index.html
index 2fdae6d4b..e821494a5 100644
--- a/lib/doc/browse/index.html
+++ b/lib/doc/browse/index.html
@@ -81,7 +81,7 @@
romanceUsed by Catalan, French, Italian, Romanian, Spanish
scandinavianUsed by Danish, Norwegian, Swedish
-
+
Issues
Something is missing or out of date
@@ -98,7 +98,7 @@
diff --git a/lib/doc/browse/script.js b/lib/doc/browse/script.js
index 6dc1f39c1..7d7bce44c 100644
--- a/lib/doc/browse/script.js
+++ b/lib/doc/browse/script.js
@@ -98,7 +98,7 @@ $(document).ready(function() {
}
}
var setCode = function(code) {
- $('#code pre').html(code);
+ $('#code pre').text(code);
prettyPrint();
}
var updateScopeCount = function(){
@@ -350,7 +350,7 @@ $(document).ready(function() {
var code = (e.keyCode ? e.keyCode : e.which);
if(code == 13) { // Enter
runFilter();
- }
+ }
});
$("#clear").click(function(){
$("#search")
@@ -376,21 +376,21 @@ $(document).ready(function() {
function delayed () {
if (!execAsap)
func.apply(obj, args);
- timeout = null;
+ timeout = null;
};
-
+
if (timeout)
clearTimeout(timeout);
else if (execAsap)
func.apply(obj, args);
-
- timeout = setTimeout(delayed, threshold || 100);
+
+ timeout = setTimeout(delayed, threshold || 100);
};
}
- // smartresize
+ // smartresize
jQuery.fn[sr] = function(fn){ return fn ? this.bind('resize', debounce(fn)) : this.trigger(sr); };
})(jQuery,'smartresize');
-
+
// usage:
$(window).smartresize(function() {
recalculateHeights();