diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2009-11-15 12:07:26 -0500 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2009-11-15 12:07:26 -0500 |
commit | 5f113651d3406fc717a1c6ea9c3119726a1a9b4b (patch) | |
tree | bf4df23a854f7da8c4cf3f426ac27e3a6c82827a /coverage/html.py | |
parent | 0ebb8969022aef2bcde791f4d46714205af1958a (diff) | |
download | python-coveragepy-5f113651d3406fc717a1c6ea9c3119726a1a9b4b.tar.gz |
More readable comment
Diffstat (limited to 'coverage/html.py')
-rw-r--r-- | coverage/html.py | 4 |
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("&", "&").replace("<", "<").replace(">", ">") .replace("'", "'").replace('"', """) - # Convert runs of spaces: " " -> " " + # Convert runs of spaces: "......" -> " . . ." .replace(" ", " ") # To deal with odd-length runs, convert the final pair of spaces - # so that " " -> " " + # so that "....." -> " . ." .replace(" ", " ") ) |