summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaylan Limberg <waylan.limberg@icloud.com>2014-08-22 10:44:19 -0400
committerWaylan Limberg <waylan.limberg@icloud.com>2014-08-22 10:44:19 -0400
commit726eacc8c5dde17cb9fb4d7a828b8e0e53c9a3a5 (patch)
tree26d38fd8edafe06a883b3b9bd3470df5f17e2da0
parent57ac1b21369033f58e6105cc16afe02f35301484 (diff)
downloadpython-markdown-726eacc8c5dde17cb9fb4d7a828b8e0e53c9a3a5.tar.gz
Cleaned up some whitespace inconsistancies.
-rw-r--r--markdown/extensions/headerid.py2
1 files changed, 1 insertions, 1 deletions
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: