From 6e8c818ed56716e66cfaea1dd8318aeb71001e87 Mon Sep 17 00:00:00 2001 From: kwaroran Date: Wed, 3 Apr 2024 19:12:59 +0900 Subject: [PATCH] Trim whitespace in blockEndMatcher function --- src/ts/parser.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ts/parser.ts b/src/ts/parser.ts index b5970cb4..cdbf44de 100644 --- a/src/ts/parser.ts +++ b/src/ts/parser.ts @@ -921,7 +921,7 @@ function blockEndMatcher(p1:string,type:blockMatch,matcherArg:matcherArg):string return '' } if(type === 'parse'){ - return p1 + return p1.trim() } return ''