aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWaylan Limberg <waylan@gmail.com>2012-01-30 06:05:38 -0500
committerWaylan Limberg <waylan@gmail.com>2012-01-30 06:05:38 -0500
commit3b6c63fbd35509e1499e9502a78c82bfa2b17957 (patch)
tree7e9dd1353d40d6b714a4a3d85915889378ca8b5f
parentc56085ee71fd67567a3d08964f7d48a93abe7fbc (diff)
downloadmarkdown-3b6c63fbd35509e1499e9502a78c82bfa2b17957.tar.gz
markdown-3b6c63fbd35509e1499e9502a78c82bfa2b17957.tar.bz2
markdown-3b6c63fbd35509e1499e9502a78c82bfa2b17957.zip
Fixed #76. HTML attrs are a dict not a tuple. Silly typo.
-rw-r--r--markdown/preprocessors.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/markdown/preprocessors.py b/markdown/preprocessors.py
index f20f040..55dd9ab 100644
--- a/markdown/preprocessors.py
+++ b/markdown/preprocessors.py
@@ -147,7 +147,7 @@ class HtmlBlockPreprocessor(Preprocessor):
if block[1] == "!":
# is a comment block
- left_tag, left_index, attrs = "--", 2, ()
+ left_tag, left_index, attrs = "--", 2, {}
else:
left_tag, left_index, attrs = self._get_left_tag(block)
right_tag, data_index = self._get_right_tag(left_tag,