From 5ed12cf8938ec641640b24be7c0a8ff62e418a02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Guilhem=20Faur=C3=A9?= Date: Fri, 28 Apr 2023 12:50:54 +0200 Subject: [PATCH] playing with priorities, use only -1 --- spip2md/spip.flex.lark | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spip2md/spip.flex.lark b/spip2md/spip.flex.lark index 155b45b..861125a 100644 --- a/spip2md/spip.flex.lark +++ b/spip2md/spip.flex.lark @@ -31,7 +31,7 @@ _TBL: "|" heading: _H _markup_inline "}}}" _H: "{{{" -paragraph: ( _inline _N? )+ +paragraph.-1: ( _inline _N? )+ _inline: TEXT | emphasis @@ -39,7 +39,7 @@ _inline: TEXT | anchor | tag -TEXT.-2: /[^\r\n]+/ +TEXT.-1: /[^\r\n]+/ _table_inline: TABLE_TEXT | emphasis