summaryrefslogtreecommitdiff
path: root/coverage/html.py
diff options
context:
space:
mode:
Diffstat (limited to 'coverage/html.py')
-rw-r--r--coverage/html.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/coverage/html.py b/coverage/html.py
index 37c754b..98d32cd 100644
--- a/coverage/html.py
+++ b/coverage/html.py
@@ -148,10 +148,10 @@ def escape(t):
# Convert HTML special chars into HTML entities.
.replace("&", "&amp;").replace("<", "&lt;").replace(">", "&gt;")
.replace("'", "&#39;").replace('"', "&quot;")
- # Convert runs of spaces: " " -> "&nbsp; &nbsp; &nbsp; "
+ # Convert runs of spaces: "......" -> "&nbsp;.&nbsp;.&nbsp;."
.replace(" ", "&nbsp; ")
# To deal with odd-length runs, convert the final pair of spaces
- # so that " " -> "&nbsp; &nbsp;&nbsp; "
+ # so that "....." -> "&nbsp;.&nbsp;&nbsp;."
.replace(" ", "&nbsp; ")
)