From 3b6c63fbd35509e1499e9502a78c82bfa2b17957 Mon Sep 17 00:00:00 2001 From: Waylan Limberg Date: Mon, 30 Jan 2012 06:05:38 -0500 Subject: Fixed #76. HTML attrs are a dict not a tuple. Silly typo. --- markdown/preprocessors.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- cgit v1.2.3