From 47da566616f14caad010da58f4899a58ebc0b4ae Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Sun, 15 Nov 2009 12:07:26 -0500 Subject: More readable comment --- coverage/html.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'coverage/html.py') 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(" ", "  ") ) -- cgit v1.2.1