diff options
-rw-r--r-- | markdown/extensions/fenced_code.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/markdown/extensions/fenced_code.py b/markdown/extensions/fenced_code.py index 2b03bbc..23dc7b5 100644 --- a/markdown/extensions/fenced_code.py +++ b/markdown/extensions/fenced_code.py @@ -124,7 +124,7 @@ class FencedBlockPreprocessor(markdown.preprocessors.Preprocessor): linenos=self.codehilite_conf['force_linenos'][0], css_class=self.codehilite_conf['css_class'][0], style=self.codehilite_conf['pygments_style'][0], - lang=(m.group('lang') if m.group('lang') else None), + lang=(m.group('lang') or None), noclasses=self.codehilite_conf['noclasses'][0]) code = highliter.hilite() |