diff options
author | Yuri Takhteyev <yuri@freewisdom.org> | 2008-05-30 14:59:08 -0700 |
---|---|---|
committer | Yuri Takhteyev <yuri@freewisdom.org> | 2008-05-30 14:59:08 -0700 |
commit | 22188b4233a79387b49318acc8375da995224c43 (patch) | |
tree | 2ef3efc14b91daa6c23d3edb1c3fd2c5a1d75bcd /markdown.py | |
parent | d0d4e56d0d2aeff4a977113c5ec17c9ec4e90714 (diff) | |
parent | 80172e52c04683af35ab4dce1f5c285d73754824 (diff) | |
download | markdown-22188b4233a79387b49318acc8375da995224c43.tar.gz markdown-22188b4233a79387b49318acc8375da995224c43.tar.bz2 markdown-22188b4233a79387b49318acc8375da995224c43.zip |
Merge git://gitorious.org/python-markdown/mainline
Diffstat (limited to 'markdown.py')
-rw-r--r-- | markdown.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/markdown.py b/markdown.py index 8978b89..422cde4 100644 --- a/markdown.py +++ b/markdown.py @@ -1295,7 +1295,7 @@ class CorePatterns: """ patterns = { - 'header': r'(#*)([^#]*)(#*)', # # A title + 'header': r'(#{1,6})[ \t]*(.*?)[ \t]*(#*)', # # A title 'reference-def': r'(\ ?\ ?\ ?)\[([^\]]*)\]:\s*([^ ]*)(.*)', # [Google]: http://www.google.com/ 'containsline': r'([-]*)$|^([=]*)', # -----, =====, etc. |