publish list fix for embed chat

This commit is contained in:
timothycarambat 2024-02-07 13:07:41 -08:00
parent 500e53dc8a
commit 83e1c06020
2 changed files with 4 additions and 2 deletions

View File

@ -40,7 +40,9 @@ const markdown = markdownIt({
"</pre></div>"
);
},
});
})
// Enable <ol> and <ul> items to not assume an HTML structure so we can keep numbering from responses.
.disable("list");
export default function renderMarkdown(text = "") {
return markdown.render(text);

File diff suppressed because one or more lines are too long