diff --git a/reports/commons.js b/reports/commons.js
index f30fe58..e4f9f4d 100644
--- a/reports/commons.js
+++ b/reports/commons.js
@@ -190,7 +190,8 @@ function formatSummary(text) {
}
return text
.replace(/\{\{.*?\}\}/g, '$&')
- .replace(/\[\[((?:Category|File|Image):.*?)\]\]/gi, '[[:$1]]');
+ .replace(/\[\[((?:Category|File|Image):.*?)\]\]/gi, '[[:$1]]')
+ .replace(/~{3,5}/g, '$&');
}
/**