From 726eacc8c5dde17cb9fb4d7a828b8e0e53c9a3a5 Mon Sep 17 00:00:00 2001 From: Waylan Limberg Date: Fri, 22 Aug 2014 10:44:19 -0400 Subject: Cleaned up some whitespace inconsistancies. --- markdown/extensions/headerid.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/markdown/extensions/headerid.py b/markdown/extensions/headerid.py index 5ae84f3..9af94df 100644 --- a/markdown/extensions/headerid.py +++ b/markdown/extensions/headerid.py @@ -68,7 +68,7 @@ def stashedHTML2text(text, md): def _html_sub(m): """ Substitute raw html with plain text. """ try: - raw, safe = md.htmlStash.rawHtmlBlocks[int(m.group(1))] + raw, safe = md.htmlStash.rawHtmlBlocks[int(m.group(1))] except (IndexError, TypeError): return m.group(0) if md.safeMode and not safe: -- cgit v1.2.3