aboutsummaryrefslogtreecommitdiffstats
path: root/markdown_extensions
diff options
context:
space:
mode:
authorWaylan Limberg <waylan@gmail.com>2008-09-17 12:30:24 -0400
committerWaylan Limberg <waylan@gmail.com>2008-09-17 12:30:24 -0400
commitc05e63384737c7b681457842686e1544590fdb30 (patch)
tree34aaacd912a2d3364f52501b713d8c06096694e9 /markdown_extensions
parent16ef63ce054d02b9fc57daafabe787dbc472e5c2 (diff)
downloadmarkdown-c05e63384737c7b681457842686e1544590fdb30.tar.gz
markdown-c05e63384737c7b681457842686e1544590fdb30.tar.bz2
markdown-c05e63384737c7b681457842686e1544590fdb30.zip
[CodeHilite] Fixed a little bug with the fallback when pygments is not available. Thanks Artiom Diomin.
Diffstat (limited to 'markdown_extensions')
-rw-r--r--markdown_extensions/codehilite.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/markdown_extensions/codehilite.py b/markdown_extensions/codehilite.py
index 32f7ca0..55b9055 100644
--- a/markdown_extensions/codehilite.py
+++ b/markdown_extensions/codehilite.py
@@ -88,7 +88,7 @@ class CodeHilite:
txt = self._number(txt)
else :
txt = '<div class="%s"><pre>%s</pre></div>\n'% \
- (txt, self.css_class)
+ (self.css_class, txt)
return txt
else:
try: