aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYuri Takhteyev <yuri@freewisdom.org>2008-12-24 19:34:52 -0200
committerYuri Takhteyev <yuri@freewisdom.org>2008-12-24 19:34:52 -0200
commit8f3f5a9071631b22e41d3894c236416fef4280b7 (patch)
treefb6aa7ed071eb1d3259284e372d794854bf4f9b5
parentd6711cf39b8043aa8c24ee80b0c126a555ebf3e0 (diff)
downloadmarkdown-8f3f5a9071631b22e41d3894c236416fef4280b7.tar.gz
markdown-8f3f5a9071631b22e41d3894c236416fef4280b7.tar.bz2
markdown-8f3f5a9071631b22e41d3894c236416fef4280b7.zip
Making the space after angle brackets optional in blockquotes.
-rw-r--r--markdown/blockprocessors.py2
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))