diff options
author | Yuri Takhteyev <yuri@freewisdom.org> | 2008-12-24 19:34:52 -0200 |
---|---|---|
committer | Yuri Takhteyev <yuri@freewisdom.org> | 2008-12-24 19:34:52 -0200 |
commit | 8f3f5a9071631b22e41d3894c236416fef4280b7 (patch) | |
tree | fb6aa7ed071eb1d3259284e372d794854bf4f9b5 | |
parent | d6711cf39b8043aa8c24ee80b0c126a555ebf3e0 (diff) | |
download | markdown-8f3f5a9071631b22e41d3894c236416fef4280b7.tar.gz markdown-8f3f5a9071631b22e41d3894c236416fef4280b7.tar.bz2 markdown-8f3f5a9071631b22e41d3894c236416fef4280b7.zip |
Making the space after angle brackets optional in blockquotes.
-rw-r--r-- | markdown/blockprocessors.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/markdown/blockprocessors.py b/markdown/blockprocessors.py index 8ad3401..c8b9b5d 100644 --- a/markdown/blockprocessors.py +++ b/markdown/blockprocessors.py @@ -184,7 +184,7 @@ class CodeBlockProcessor(BlockProcessor): class BlockQuoteProcessor(BlockProcessor): - RE = re.compile(r'(^|\n)[ ]{0,3}>[ ](.*)') + RE = re.compile(r'(^|\n)[ ]{0,3}>[ ]?(.*)') def test(self, parent, block): return bool(self.RE.search(block)) |