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 | 47da566616f14caad010da58f4899a58ebc0b4ae (patch) | |
tree | 8117f010af17b743ed943f21eb4f04e8c85975b1 /coverage/html.py | |
parent | d02588a33021e0f3af9c882a3af1d4f6751e8bd7 (diff) | |
download | python-coveragepy-git-47da566616f14caad010da58f4899a58ebc0b4ae.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 37c754bd..98d32cdc 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(" ", " ") ) |