From 61489505e2001fcc04d2b32d8068a8085840c3a6 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Sat, 17 May 2025 18:45:12 +0200 Subject: fix LinkDefinition grammar --- def.peg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'def.peg') diff --git a/def.peg b/def.peg index 263b657..4fb3295 100644 --- a/def.peg +++ b/def.peg @@ -12,7 +12,7 @@ Block <- Header / List / LinkDefinition / Paragraph Header <- '#'+ SPACE* Words? SPACE* NEWLINE List <- ([-*]+ / [[:digit:]]+ [).]) (SPACE+ (List / Words))? NEWLINE -LinkDefinition <- '[' !'[]' PlainWords ']:' SPACE Uri NEWLINE +LinkDefinition <- '[' !'[]' PlainWords ']' ':' SPACE Uri NEWLINE SPACE SPACE '"' !'"' PlainWords '"' NEWLINE Paragraph <- (Words (SPACE? NEWLINE / HardBreak))+ NEWLINE+ -- cgit v1.2.3