diff --git a/src/internal/parser.pegjs b/src/internal/parser.pegjs
index 0f89f49..47e23d9 100644
--- a/src/internal/parser.pegjs
+++ b/src/internal/parser.pegjs
@@ -246,7 +246,7 @@ mathBlockLine
// block: center
center
- = BEGIN "
" LF? content:(!(LF? "" END) @inline)+ LF? "" END
+ = BEGIN "" LF? content:(!(LF? "" END) @inline)* LF? "" END
{
return CENTER(mergeText(content));
}
@@ -402,7 +402,7 @@ strikeContent
= &{ return enterNest(); } @(@(!("~" / LF) @inline)+ &{ return leaveNest(); } / &{ return fallbackNest(); })
strikeTagContent
- = &{ return enterNest(); } @(@(!("" / LF) @inline)+ &{ return leaveNest(); } / &{ return fallbackNest(); })
+ = &{ return enterNest(); } @(@(!"" @inline)+ &{ return leaveNest(); } / &{ return fallbackNest(); })
L_strike
= "~~" content:L_strikeContent "~~"
@@ -418,7 +418,7 @@ L_strikeContent
= &{ return enterNest(); } @(@(!("~" / LF) @L_inline)+ &{ return leaveNest(); } / &{ return fallbackNest(); })
L_strikeTagContent
- = &{ return enterNest(); } @(@(!("" / LF) @L_inline)+ &{ return leaveNest(); } / &{ return fallbackNest(); })
+ = &{ return enterNest(); } @(@(!"" @L_inline)+ &{ return leaveNest(); } / &{ return fallbackNest(); })
// inline: inlineCode