Skip to content

Commit

Permalink
html formatter: lineseparator needs to be unicode
Browse files Browse the repository at this point in the history
Fixes #1053
  • Loading branch information
birkenfeld committed Nov 26, 2019
1 parent 4b00eee commit 03328ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pygments/formatters/html.py
Expand Up @@ -435,7 +435,7 @@ def __init__(self, **options):
self.linenostep = abs(get_int_opt(options, 'linenostep', 1))
self.linenospecial = abs(get_int_opt(options, 'linenospecial', 0))
self.nobackground = get_bool_opt(options, 'nobackground', False)
self.lineseparator = options.get('lineseparator', '\n')
self.lineseparator = options.get('lineseparator', u'\n')
self.lineanchors = options.get('lineanchors', '')
self.linespans = options.get('linespans', '')
self.anchorlinenos = options.get('anchorlinenos', False)
Expand Down

0 comments on commit 03328ce

Please sign in to comment.