summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Hatch <tim@timhatch.com>2013-04-15 19:19:18 -0700
committerTim Hatch <tim@timhatch.com>2013-04-15 19:19:18 -0700
commit690efaf0304427ab5ab023c67b27459beccc4b15 (patch)
treea3561d6ff4537b6865b92202c0829ca568dfd9b6
parent1979eeab7dc8322e40fd2b9e3b9d1195a3e6d8b7 (diff)
parentd98af97305465d28581fdf0729297394afd0da59 (diff)
downloadpygments-690efaf0304427ab5ab023c67b27459beccc4b15.tar.gz
Merged in pekkaklarck/pygments-main (pull request #173)
Robot Framework lexer: Fixed handling trailing spaces.
-rw-r--r--pygments/lexers/_robotframeworklexer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pygments/lexers/_robotframeworklexer.py b/pygments/lexers/_robotframeworklexer.py
index 0192d289..bc64e12b 100644
--- a/pygments/lexers/_robotframeworklexer.py
+++ b/pygments/lexers/_robotframeworklexer.py
@@ -163,7 +163,7 @@ class RowSplitter(object):
def split(self, row):
splitter = (row.startswith('| ') and self._split_from_pipes
or self._split_from_spaces)
- for value in splitter(row.rstrip()):
+ for value in splitter(row):
yield value
yield '\n'