Skip to content

Commit

Permalink
Merge branch 'main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
nsarrazin authored Jan 16, 2025
2 parents f52bf0e + 2bb2a9f commit 2b5b6ab
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/lib/components/chat/MarkdownRenderer.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -163,8 +163,7 @@
const marked = new Marked({
hooks: {
preprocess: (md) => addInlineCitations(md, sources),
postprocess: (html) => DOMPurify.sanitize(html),
postprocess: (html) => DOMPurify.sanitize(addInlineCitations(html, sources)),
},
extensions: [katexBlockExtension, katexInlineExtension],
renderer: {
Expand Down

0 comments on commit 2b5b6ab

Please sign in to comment.