diff --git a/templates/default/static/scripts/linenumber.js b/templates/default/static/scripts/linenumber.js
index a0c570d5d..613865d0e 100644
--- a/templates/default/static/scripts/linenumber.js
+++ b/templates/default/static/scripts/linenumber.js
@@ -9,7 +9,7 @@
numbered = source.innerHTML.split('\n');
numbered = numbered.map(function(item) {
counter++;
- return '' + item;
+ return '' + item;
});
source.innerHTML = numbered.join('\n');
diff --git a/templates/default/static/styles/jsdoc-default.css b/templates/default/static/styles/jsdoc-default.css
index a0c157be1..7afd6850a 100644
--- a/templates/default/static/styles/jsdoc-default.css
+++ b/templates/default/static/styles/jsdoc-default.css
@@ -242,7 +242,7 @@ h6
border-left: 3px #ddd solid;
}
-.prettyprint code span
+.prettyprint code span.line
{
display: inline-block;
}