summaryrefslogtreecommitdiff
path: root/pygments/formatters/html.py
diff options
context:
space:
mode:
authorgbrandl <devnull@localhost>2007-06-13 15:17:00 +0200
committergbrandl <devnull@localhost>2007-06-13 15:17:00 +0200
commitb42aceccbbd16c264724a3c0ea2fc5166b29255c (patch)
treeb9c015d33f6c8d26984439bb76ace89576dd67d5 /pygments/formatters/html.py
parent33f8bc0fbecb0edf2952cc82c50f09e44e17c14c (diff)
downloadpygments-b42aceccbbd16c264724a3c0ea2fc5166b29255c.tar.gz
[svn] Add ActionScript lexer, #247.
Diffstat (limited to 'pygments/formatters/html.py')
-rw-r--r--pygments/formatters/html.py3
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):