Commits

Tim Hatch  committed 2479eb5 Merge

Merged in pekkaklarck/pygments-main (pull request #173)

Robot Framework lexer: Fixed handling trailing spaces.

  • Participants
  • Parent commits 4e936fc, 4ba74e4

Comments (0)

Files changed (1)

File pygments/lexers/_robotframeworklexer.py

     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'