mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-16 14:39:31 -05:00
[GH-ISSUE #24657] bug: Rendered HTML paste creates duplicated Markdown table blocks #107368
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @alexander9846 on GitHub (May 13, 2026).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/24657
Check Existing Issues
Installation Method
Other
Open WebUI Version
0.9.4
Ollama Version (if applicable)
No response
Operating System
Elest.io
Browser (if applicable)
No response
Confirmation
README.md.Expected Behavior
Rendered HTML copied from a browser should paste into the standard chat input only once.
The pasted content should remain usable and readable. Open WebUI should either preserve the rendered text formatting where possible, paste it as plain text, or convert it to Markdown without duplicating sections.
Nested table-based email layouts should not cause repeated or recursive Markdown table output.
Actual Behavior
When rendered HTML email content is copied from a browser and pasted into the standard Open WebUI chat input, the pasted content is duplicated many times.
The content is transformed into repeated Markdown-style table structures. Sections such as the salutation, body text, CTA buttons and signature are repeated multiple times.
The issue occurs consistently across multiple browsers.
Steps to Reproduce
Notes:
Logs & Screenshots
No server logs available at this moment.
No browser console errors have been captured yet.
Screenshots can be provided if needed. The visible result is that the chat input/message contains many repeated Markdown table rows and duplicated blocks.
Additional Information
This appears to be related to clipboard handling, rendered HTML parsing, or HTML-to-Markdown conversion in the standard chat input.
The issue seems especially likely to occur with rendered email/newsletter HTML because those layouts often use deeply nested tables.
A practical workaround is to paste the content inside a fenced code block or paste plain text only, but this is not ideal. Users often want to paste rendered email content directly into Open WebUI for review, rewriting, debugging, summarization or marketing-content analysis.
@owui-terminator[bot] commented on GitHub (May 13, 2026):
⚠️ Missing Issue Title Prefix
@alexander9846, your issue title is missing a categorising prefix (e.g.
bug:,feat:,docs:).Please update the title to lead with one of:
Example:
bug: Login fails when the password contains special characters@owui-terminator[bot] commented on GitHub (May 13, 2026):
⚠️ Invalid Issue Title
@alexander9846, your issue title is too short, too few words, or a generic placeholder — it doesn't tell maintainers what's actually being reported or requested.
Please update the title to be at least 10 characters and 2 words, and to describe the actual issue. Bare placeholders like
bug,feat:, orissuemake triage difficult and slow down everyone.Example:
bug: Login fails when password contains special characters@owui-terminator[bot] commented on GitHub (May 13, 2026):
🔍 Related Issues Found
I found some existing issues that might be related. Please check if any of these are duplicates or contain helpful solutions:
🟣 #6415 Input field unable to handle pasted text (converting to markdown?)
This reports paste handling in the chat input altering pasted content unexpectedly, including markdown-like transformation. While the specific symptom is whitespace loss rather than table duplication, it is directly about the same input/clipboard processing path.
by skerit
🟣 #9850 UI breaks when pasting formatted text from LinkedIn or other sources
This issue is about pasting formatted text from external sources into the chat input causing the UI to break. It is closely related because both involve rich/formatted clipboard content pasted into the input field from outside Open WebUI.
by svmed2050
🟣 #15497 Paste the table text in the dialog box, and click to confirm that the page will be displayed as a code
This is a table-pasting bug where pasted table text is converted incorrectly, indicating a related table/Markdown conversion path in the editor. The new issue is also triggered by table-like content being pasted into the input.
by flyfox666 ·
bug🟣 #15599 issue: Markdown Table Alignment Conversion Bug
This concerns markdown table conversion/rendering bugs. Since the new issue produces repeated Markdown table blocks from pasted HTML tables, it is likely related to the same table conversion logic.
by wongsatornt2529 ·
bug🟣 #23092 feat: Enable proper table copying to Excel/Google Sheets
Although a feature request, it deals with clipboard handling of tables and how content is copied/pasted between Open WebUI and other apps. It is relevant as a nearby clipboard/table-structure issue, but less directly than the bug reports above.
by kai-huracan-tech
💡 If your issue is a duplicate, please close it and add any additional details to the existing issue instead.
This comment was generated automatically. React with 👍 if helpful, 👎 if not.
@alexander9846 commented on GitHub (May 13, 2026):
I reviewed the suggested related issues, but this issue appears to be different.
This issue specifically concerns rendered HTML copied from a browser clipboard being pasted into the standard chat input, after which the sent message becomes recursively duplicated and converted into repeated Markdown-style table structures.
The issue does not reproduce with simple/raw HTML snippets and seems specifically related to rendered, table-based email/newsletter HTML content.