From 79ecb2ee18ace5e030e82a35f95de1279bbc6cb4 Mon Sep 17 00:00:00 2001 From: Orlando Krause Junior Date: Tue, 19 Nov 2024 17:41:44 -0300 Subject: [PATCH] Do not expect ending tag for
tag --- index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.tsx b/index.tsx index 445040e..b490f52 100644 --- a/index.tsx +++ b/index.tsx @@ -625,7 +625,7 @@ function parseTableRow( let tableRow = source .trim() // isolate situations where a pipe should be ignored (inline code, HTML) - .split(/( *(?:`[^`]*`|<.*?>.*?<\/.*?>(?!<\/.*?>)|\\\||\|) *)/) + .split(/( *(?:`[^`]*`||<.*?>.*?<\/.*?>(?!<\/.*?>)|\\\||\|) *)/) .reduce((nodes, fragment) => { if (fragment.trim() === '|') nodes.push(