From a47f272040a639d503e19edd2e1926d1a81c8b05 Mon Sep 17 00:00:00 2001 From: Fenris Wolf Date: Fri, 9 Oct 2026 10:15:19 +0200 Subject: [PATCH] [fix] output:markdown:table --- source/outputs/implementations/markdown.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/source/outputs/implementations/markdown.ts b/source/outputs/implementations/markdown.ts index 6a4938f..d6ebdbd 100644 --- a/source/outputs/implementations/markdown.ts +++ b/source/outputs/implementations/markdown.ts @@ -154,6 +154,9 @@ class type_output_markdown implements type_output } ), ) + .map( + x => x.replace(new RegExp("\\\|","g"), "\\\|") + ) .join(" | ") ), } @@ -186,6 +189,9 @@ class type_output_markdown implements type_output } ), ) + .map( + x => x.replace(new RegExp("\\\|","g"), "\\\|") + ) .join(" | ") ), }