diff options
| author | Matth?us G. Chajdas <dev@anteru.net> | 2019-05-21 18:10:56 +0200 |
|---|---|---|
| committer | Matth?us G. Chajdas <dev@anteru.net> | 2019-05-21 18:10:56 +0200 |
| commit | 9a007bc732daa72fb76b3130d5c02367a6a7d882 (patch) | |
| tree | 3e7a865e621a76cb9e5fd325de91ca9146646a28 /pygments/formatters | |
| parent | bc38e5d1980502f9af9c53314f669f070dc79eff (diff) | |
| download | pygments-git-9a007bc732daa72fb76b3130d5c02367a6a7d882.tar.gz | |
Backed out changeset: df3df829861d
Diffstat (limited to 'pygments/formatters')
| -rw-r--r-- | pygments/formatters/html.py | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/pygments/formatters/html.py b/pygments/formatters/html.py index 54e7df0e..d65c09ce 100644 --- a/pygments/formatters/html.py +++ b/pygments/formatters/html.py @@ -803,13 +803,7 @@ class HtmlFormatter(Formatter): # else we neither have to open a new span nor set lspan if line: - # If we're in nowrap mode, we try to make the output compact and - # omit the trailing newspace, this makes it easier to consume the - # HTML elsewhere - if self.nowrap: - line.append(lspan and '</span>') - else: - line.extend((lspan and '</span>', lsep)) + line.extend(((lspan and '</span>'), lsep)) yield 1, ''.join(line) def _lookup_ctag(self, token): |
