#24657·open-webui

bug: Rendered HTML paste creates duplicated Markdown table blocks

Author: alexander9846Created May 13, 2026Updated Sep 30, 2026
Labelsbugconfirmed issue

Check Existing Issues

  • I have searched for any existing and/or related issues.
  • I have searched for any existing and/or related discussions.
  • I have also searched in the CLOSED issues AND CLOSED discussions and found no related items (your issue might already be addressed on the development branch!).
  • I am using the latest version of Open WebUI.

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

  • I have read and followed all instructions in README.md.
  • I am using the latest version of both Open WebUI and Ollama.
  • I have included the browser console logs.
  • I have included the Docker container logs.
  • I have provided every relevant configuration, setting, and environment variable used in my setup.
  • I have clearly listed every relevant configuration, custom setting, environment variable, and command-line option that influences my setup (such as Docker Compose overrides, .env values, browser settings, authentication configurations, etc).
  • I have documented step-by-step reproduction instructions that are precise, sequential, and leave nothing to interpretation. My steps:
  • Start with the initial platform/version/OS and dependencies used,
  • Specify exact install/launch/configure commands,
  • List URLs visited, user input (incl. example values/emails/passwords if needed),
  • Describe all options and toggles enabled or changed,
  • Include any files or environmental changes,
  • Identify the expected and actual result at each stage,
  • Ensure any reasonably skilled user can follow and hit the same issue.

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

  1. Open any chat conversation in Open WebUI.
  2. Copy rendered HTML email/newsletter content from a browser tab. Do not copy raw HTML source.
  3. Paste the rendered content into the standard chat input.
  4. Send the prompt.
  5. Observe that the sent message contains duplicated blocks converted into repeated Markdown-style table structures.

Notes:

  • The duplication becomes visible after sending the prompt.
  • Reproduces consistently in Safari and Brave on macOS.
  • No browser extensions are active.
  • The issue appears specific to rendered, table-based HTML copied from the browser clipboard.
  • A small/simple raw HTML snippet does not reproduce the issue.

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.