diff --git a/src/parser.pegjs b/src/parser.pegjs
index 3ac878dced2fa1e7c9167fe0746c05ea79af803c..93b53c855341987f1d01e43b3e27c3a271a81228 100644
--- a/src/parser.pegjs
+++ b/src/parser.pegjs
@@ -121,7 +121,10 @@ inline
 // block: quote
 
 quote
-	= &(BEGIN ">") head:quoteMultiLine tails:quoteMultiLine+
+	= &(BEGIN ">") q:quoteInner { return q; }
+
+quoteInner
+	= head:quoteMultiLine tails:quoteMultiLine+
 {
 	const children = applyParser([head, ...tails].join('\n'), 'fullParser');
 	return QUOTE(children);