Skip to content

Commit

Permalink
fix: Remove heading token from message parser
Browse files Browse the repository at this point in the history
  • Loading branch information
nithindavid committed Jan 23, 2024
1 parent b2eead6 commit 4aa142c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/schema/markdown/messageParser.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ md.enable([
'escape',
]);

md.disable(['table', 'hr']);
md.disable(['table', 'hr', 'heading']);

export class MessageMarkdownTransformer {
constructor(schema, tokenizer = md) {
Expand Down

0 comments on commit 4aa142c

Please sign in to comment.