summaryrefslogtreecommitdiff
path: root/sphinx/websupport/storage/differ.py
diff options
context:
space:
mode:
authorDaniel Neuhäuser <ich@danielneuhaeuser.de>2010-08-10 17:11:11 +0200
committerDaniel Neuhäuser <ich@danielneuhaeuser.de>2010-08-10 17:11:11 +0200
commit023f342bede78031ff498844033662318af9286d (patch)
tree901d8c1989131cf38c5d26b8cc96c2d2890e7a61 /sphinx/websupport/storage/differ.py
parentd77cbf3043b88a31424d44538b8b8bb5fdc1e490 (diff)
downloadsphinx-git-023f342bede78031ff498844033662318af9286d.tar.gz
Removed trailing whitespace
Diffstat (limited to 'sphinx/websupport/storage/differ.py')
-rw-r--r--sphinx/websupport/storage/differ.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/sphinx/websupport/storage/differ.py b/sphinx/websupport/storage/differ.py
index 068d7e6fc..f0b6a8ea5 100644
--- a/sphinx/websupport/storage/differ.py
+++ b/sphinx/websupport/storage/differ.py
@@ -53,12 +53,12 @@ class CombinedHtmlDiff(object):
return text
elif prefix == '?':
return ''
-
+
if next is not None and next[0] == '?':
tag = 'ins' if prefix == '+' else 'del'
text = self._highlight_text(text, next, tag)
css_class = 'prop_added' if prefix == '+' else 'prop_removed'
-
+
return '<span class="%s">%s</span>\n' % (css_class, text.rstrip())
def _highlight_text(self, text, next, tag):
@@ -76,4 +76,3 @@ class CombinedHtmlDiff(object):
start = match.end()
new_text.append(text[start:])
return ''.join(new_text)
-