Skip to content

Commit fae02f5

Browse files
author
James Brundage
committed
Inline Markdown Transpiler: Switching EndRegex Order
1 parent e0aca6c commit fae02f5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Transpilers/Inline/Inline.Markdown.psx.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,9 @@ begin {
5454
(?<=(?>[\r\n]+){1})[\s-[\r\n]]{0,3}(?>```|~~~)
5555
){1}(?>[\.\<\>]{2}|PipeScript)\s{0,}\{\s{0,}'
5656
$endComment = '\}(?>[\.\<\>]{2}|PipeScript){0,1}(?>
57-
(?>```|~~~)
57+
\s{0,}(?>[\r\n]+){1}\s{0,3}(?>```|~~~)
5858
|
59-
\s{0,}(?>[\r\n]+){1}\s{0,3}(?>```|~~~)
59+
(?>```|~~~)
6060
)
6161
'
6262

0 commit comments

Comments
 (0)