From 4aa142c7fcdd4aeb50c2159acc37536e9204eeff Mon Sep 17 00:00:00 2001 From: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com> Date: Tue, 23 Jan 2024 08:30:01 +0530 Subject: [PATCH] fix: Remove heading token from message parser --- src/schema/markdown/messageParser.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/schema/markdown/messageParser.js b/src/schema/markdown/messageParser.js index 5931f24..01f59a1 100644 --- a/src/schema/markdown/messageParser.js +++ b/src/schema/markdown/messageParser.js @@ -36,7 +36,7 @@ md.enable([ 'escape', ]); -md.disable(['table', 'hr']); +md.disable(['table', 'hr', 'heading']); export class MessageMarkdownTransformer { constructor(schema, tokenizer = md) {