mirror of
https://github.com/open-webui/open-webui.git
synced 2026-11-29 08:31:48 -05:00
Nested Markdown is rendered by MarkdownTokens calling itself, and those calls passed `preview` but not `onPreview`, so a code block inside a list item, a quote or a details block showed a Preview button that called the empty default. Pass `onPreview` down like `preview`.