aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWaylan Limberg <waylan@gmail.com>2013-03-15 05:42:11 -0700
committerWaylan Limberg <waylan@gmail.com>2013-03-15 05:42:11 -0700
commitea1dd174db115c0275e85d4bf93a88cf25bda673 (patch)
treea7c73ef8ca8a431ebfd5b2dca09a11ee57f2fb86
parent2a12aecf4b120ca5ec6a9fb1f4efffc70ae0df1f (diff)
parent1f38dee4e228a0b990418e0c44efb6d182c22928 (diff)
downloadmarkdown-ea1dd174db115c0275e85d4bf93a88cf25bda673.tar.gz
markdown-ea1dd174db115c0275e85d4bf93a88cf25bda673.tar.bz2
markdown-ea1dd174db115c0275e85d4bf93a88cf25bda673.zip
Merge pull request #200 from timonwong/master
Fix wrong 'linenos' argument for CodeHilite(), in fenced_code.py
-rw-r--r--markdown/extensions/fenced_code.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/markdown/extensions/fenced_code.py b/markdown/extensions/fenced_code.py
index 91c59ee..9ec300b 100644
--- a/markdown/extensions/fenced_code.py
+++ b/markdown/extensions/fenced_code.py
@@ -131,7 +131,7 @@ class FencedBlockPreprocessor(Preprocessor):
# is enabled, so we call it to highlite the code
if self.codehilite_conf:
highliter = CodeHilite(m.group('code'),
- linenos=self.codehilite_conf['force_linenos'][0],
+ linenums=self.codehilite_conf['linenums'][0],
guess_lang=self.codehilite_conf['guess_lang'][0],
css_class=self.codehilite_conf['css_class'][0],
style=self.codehilite_conf['pygments_style'][0],