From 9c04f13a428bced53e82d9aa04ba5392d3fd4a04 Mon Sep 17 00:00:00 2001 From: Emma Date: Thu, 14 Mar 2024 00:48:00 -0600 Subject: [PATCH] ttcMD: fixes issues where paragraphs are filtered despite being a valid parent, Fixes a greedy rx from inline-code --- components/ttcmd/index.tsx | 6 ++---- lib/tcmd/TokenIdentifiers.ts | 2 +- lib/tcmd/index.ts | 5 +++-- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/components/ttcmd/index.tsx b/components/ttcmd/index.tsx index cf6b330..3cab180 100644 --- a/components/ttcmd/index.tsx +++ b/components/ttcmd/index.tsx @@ -45,15 +45,13 @@ export const TTCMD: FC< return ( }> - { - /* */ - } + {hasEscapedTOC !== undefined && (