From 8aac03d7286cd896518a58acbfefa09399462dc6 Mon Sep 17 00:00:00 2001 From: Waylan Limberg Date: Wed, 5 Nov 2008 09:55:26 -0500 Subject: Fixed a silly bug in Definition List extension. Also added tests. As this extension modifies the core, we should test that all core parseing still works properly. Thanks for the report John Szakmeister. --- markdown_extensions/def_list.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'markdown_extensions') diff --git a/markdown_extensions/def_list.py b/markdown_extensions/def_list.py index dcab3ed..2f1a92d 100644 --- a/markdown_extensions/def_list.py +++ b/markdown_extensions/def_list.py @@ -181,12 +181,12 @@ class DefListParser(markdown.MarkdownParser): # it's hr if CORE_RE["isline3"].match(line): el.text = "\n".join(dump) - self.__processHR(el) + self._MarkdownParser__processHR(el) dump = [] # it's header elif line.startswith("#"): el.text = "\n".join(dump) - self.__processHeader(parentElem, [line]) + self._MarkdownParser__processHeader(parentElem, [line]) dump = [] else: dump.append(line) -- cgit v1.2.3