diff options
Diffstat (limited to 'lib/search.js')
-rw-r--r-- | lib/search.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/search.js b/lib/search.js index 8a7238cb1..3e9bdb15f 100644 --- a/lib/search.js +++ b/lib/search.js @@ -181,7 +181,7 @@ function prettify (data, args) { l._undent = l._undent || [] l._undent[i] = len - longest[i] } - l[i] = l[i].replace(/\s+/g, " ") + l[i] = ('' + l[i]).replace(/\s+/g, " ") }) return l }).sort(function (a, b) { |