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(" | ") ), }