Reset highlighting at end of rendered result

Closes #57.
This commit is contained in:
Kim Silkebækken 2013-01-17 17:24:58 +01:00
parent 1a99fbd36a
commit 9ec3a8ef5e
1 changed files with 1 additions and 0 deletions

View File

@ -122,6 +122,7 @@ class Renderer(object):
rendered_highlighted += segment_hl + segment['contents'] + outer_padding
else:
raise ValueError('Unknown segment type')
rendered_highlighted += self.hl()
return rendered_highlighted
def _total_len(self, segments):