aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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: