[GH-ISSUE #16380] issue: Line breaks in tables are not rendered #33408

Closed
opened 2026-04-25 07:19:10 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @superjamie on GitHub (Aug 8, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/16380

Check Existing Issues

  • I have searched the existing issues and discussions.
  • I am using the latest version of Open WebUI.

Installation Method

Docker

Open WebUI Version

v0.6.18

Ollama Version (if applicable)

No response

Operating System

Debian 12

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 Markdown:

Heading 1 Heading 2
A
B
C
D

GitHub renders this correctly with A and B on separate lines, and C and D on separate lines.

Actual Behavior

Open-WebUI fails to render the newlines in the table contents, instead rendering the literal HTML tag instead of a newline:

Heading 1 Heading 2
A <br> B C <br> D

Steps to Reproduce

Enter a line break <br> in a table.

Markdown Input:

| Heading 1 | Heading 2 |
|-|-|
| A <br> B | C <br> D |

Logs & Screenshots

Image Image

Additional Information

This is a common output format for the GPT-OSS models.

Originally created by @superjamie on GitHub (Aug 8, 2025). Original GitHub issue: https://github.com/open-webui/open-webui/issues/16380 ### Check Existing Issues - [x] I have searched the existing issues and discussions. - [x] I am using the latest version of Open WebUI. ### Installation Method Docker ### Open WebUI Version v0.6.18 ### Ollama Version (if applicable) _No response_ ### Operating System Debian 12 ### Browser (if applicable) _No response_ ### Confirmation - [x] I have read and followed all instructions in `README.md`. - [x] I am using the latest version of **both** Open WebUI and Ollama. - [x] I have included the browser console logs. - [x] I have included the Docker container logs. - [x] I have **provided every relevant configuration, setting, and environment variable used in my setup.** - [x] 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). - [x] 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 Markdown: | Heading 1 | Heading 2 | |-|-| | A <br> B | C <br> D | GitHub renders this correctly with A and B on separate lines, and C and D on separate lines. ### Actual Behavior Open-WebUI fails to render the newlines in the table contents, instead rendering the literal HTML tag instead of a newline: | Heading 1 | Heading 2 | |-|-| | A \<br\> B | C \<br\> D | ### Steps to Reproduce Enter a line break `<br>` in a table. Markdown Input: ``` | Heading 1 | Heading 2 | |-|-| | A <br> B | C <br> D | ``` ### Logs & Screenshots <img width="257" height="102" alt="Image" src="https://github.com/user-attachments/assets/0a1a5720-0849-490c-80f9-3ac6039cbf32" /> <img width="255" height="182" alt="Image" src="https://github.com/user-attachments/assets/0d8c18d9-aefc-4ce3-b137-844b7afa8a38" /> ### Additional Information This is a common output format for the GPT-OSS models.
GiteaMirror added the bug label 2026-04-25 07:19:10 -05:00
Author
Owner

@tjbck commented on GitHub (Aug 8, 2025):

Addressed in dev!

<!-- gh-comment-id:3169221731 --> @tjbck commented on GitHub (Aug 8, 2025): Addressed in dev!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#33408