From c6d30c7f18e835e0b99032d01b1f8acd7f077ec6 Mon Sep 17 00:00:00 2001 From: "R. Steve McKown" Date: Tue, 15 Dec 2009 19:08:24 -0700 Subject: [PATCH] Patch markdown2.py like old read_markdown.py, treating '=' like '#' for headers. --- plugins/markdown2.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/markdown2.py b/plugins/markdown2.py index cffec41..f3d8df4 100755 --- a/plugins/markdown2.py +++ b/plugins/markdown2.py @@ -1023,12 +1023,12 @@ class Markdown(object): % (n, self._run_span_gamut(match.group(1)), n) _atx_h_re = re.compile(r''' - ^(\#{1,6}) # \1 = string of #'s + ^([\#=]{1,6}) # \1 = string of #'s [ \t]* (.+?) # \2 = Header text [ \t]* (?