From 40b8986ccf0ea3fa37dda469b46261dfbf0c25a4 Mon Sep 17 00:00:00 2001 From: Yuri Takhteyev Date: Tue, 7 Oct 2008 01:32:56 -0700 Subject: 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. --- markdown_extensions/codehilite.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'markdown_extensions') 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]) -- cgit v1.2.3