mirror of
https://github.com/Mintplex-Labs/anything-llm.git
synced 2025-03-16 07:02:22 +00:00
publish list fix for embed chat
This commit is contained in:
parent
500e53dc8a
commit
83e1c06020
2 changed files with 4 additions and 2 deletions
|
@ -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
Loading…
Add table
Reference in a new issue