aboutsummaryrefslogtreecommitdiffstats
path: root/markdown_extensions
diff options
context:
space:
mode:
authorYuri Takhteyev <yuri@freewisdom.org>2008-10-07 01:32:56 -0700
committerYuri Takhteyev <yuri@freewisdom.org>2008-10-07 01:32:56 -0700
commit40b8986ccf0ea3fa37dda469b46261dfbf0c25a4 (patch)
treec29877335eea157e1bfcea87c7332e1ab4f6ff6a /markdown_extensions
parent6d719bd60b31e7fad3aae345a30f2820e2fd6215 (diff)
downloadmarkdown-40b8986ccf0ea3fa37dda469b46261dfbf0c25a4.tar.gz
markdown-40b8986ccf0ea3fa37dda469b46261dfbf0c25a4.tar.bz2
markdown-40b8986ccf0ea3fa37dda469b46261dfbf0c25a4.zip
All sorts of cleanup.
The bigger changes include getting rid of old BOM-removal logic and getting rid of BlockGuru. Most of the changes are just re-ordering of functions, removal of whitespace, adding comments, etc.
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 a96aaaa..7f4a1a8 100644
--- a/markdown_extensions/codehilite.py
+++ b/markdown_extensions/codehilite.py
@@ -208,7 +208,7 @@ class CodeHiliteExtention(markdown.Extension):
"""
- detabbed, theRest = md.blockGuru.detectTabbed(lines)
+ detabbed, theRest = md.detectTabbed(lines)
text = "\n".join(detabbed).rstrip()+"\n"
code = CodeHilite(text, linenos=self.config['force_linenos'][0],
css_class=self.config['css_class'][0])