git diff diff --git markdown_extensions codehilite py markdown_extensi

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
git diff
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: