diff options
author | gbrandl <devnull@localhost> | 2007-06-13 15:17:00 +0200 |
---|---|---|
committer | gbrandl <devnull@localhost> | 2007-06-13 15:17:00 +0200 |
commit | b42aceccbbd16c264724a3c0ea2fc5166b29255c (patch) | |
tree | b9c015d33f6c8d26984439bb76ace89576dd67d5 /pygments/formatters/html.py | |
parent | 33f8bc0fbecb0edf2952cc82c50f09e44e17c14c (diff) | |
download | pygments-b42aceccbbd16c264724a3c0ea2fc5166b29255c.tar.gz |
[svn] Add ActionScript lexer, #247.
Diffstat (limited to 'pygments/formatters/html.py')
-rw-r--r-- | pygments/formatters/html.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pygments/formatters/html.py b/pygments/formatters/html.py index 73ac77a5..cdc1c1ce 100644 --- a/pygments/formatters/html.py +++ b/pygments/formatters/html.py @@ -475,7 +475,8 @@ class HtmlFormatter(Formatter): num += 1 else: for t, line in lines: - yield 1, '<span class="lineno">%*s</span> ' % (mw, (num%st and ' ' or num)) + line + yield 1, '<span class="lineno">%*s</span> ' % ( + mw, (num%st and ' ' or num)) + line num += 1 def _wrap_div(self, inner): |