diff --git a/lib/report/html.js b/lib/report/html.js
index 485d22b5..08e3c2d6 100644
--- a/lib/report/html.js
+++ b/lib/report/html.js
@@ -495,8 +495,9 @@ Report.mix(HtmlReport, {
standardLinkMapper: function () {
return {
fromParent: function (node) {
- var relativeName = cleanPath(node.relativeName);
-
+ var relativeName = cleanPath(node.relativeName)
+ .split('/')
+ .map(encodeURIComponent).join('/');
return node.kind === 'dir' ? relativeName + 'index.html' : relativeName + '.html';
},
ancestorHref: function (node, num) {