Originally created by @ciejer on GitHub (Mar 11, 2025).
Check Existing Issues
I have searched the existing issues and discussions.
Problem Description
When rendering a markdown table, OpenWebUI does not render linebreaks such as <br> and /n within a table cell.
My users come from ChatGPT, which produces table markdown separated by <br> and can render this in the interface without issue; and allows copying the formatted response out into other tools easily.
The most common use case is bulleted lists within a table cell; ie a list of tasks with a "risks" column.
I don't mind what syntax we use to render newlines within a table; as we can instruct the model to use whatever syntax is supported; however <br> seems to be most common in the absence of a markdown standard.
Render <br> or \n as linebreaks within a table cell, allowing multiline tables to be produced and copied out as rich text.
Alternatives Considered
No response
Additional Context
No response
Originally created by @ciejer on GitHub (Mar 11, 2025).
### Check Existing Issues
- [x] I have searched the existing issues and discussions.
### Problem Description
When rendering a markdown table, OpenWebUI does not render linebreaks such as `<br>` and `/n` within a table cell.
My users come from ChatGPT, which produces table markdown separated by `<br>` and can render this in the interface without issue; and allows copying the formatted response out into other tools easily.
The most common use case is bulleted lists within a table cell; ie a list of tasks with a "risks" column.
I don't mind what syntax we use to render newlines within a table; as we can instruct the model to use whatever syntax is supported; however `<br>` seems to be most common in the absence of a markdown standard.
The closest issue to this I can find is #1663.
See example below:

### Desired Solution you'd like
Render `<br>` or `\n` as linebreaks within a table cell, allowing multiline tables to be produced and copied out as rich text.
### Alternatives Considered
_No response_
### Additional Context
_No response_
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @ciejer on GitHub (Mar 11, 2025).
Check Existing Issues
Problem Description
When rendering a markdown table, OpenWebUI does not render linebreaks such as
<br>and/nwithin a table cell.My users come from ChatGPT, which produces table markdown separated by
<br>and can render this in the interface without issue; and allows copying the formatted response out into other tools easily.The most common use case is bulleted lists within a table cell; ie a list of tasks with a "risks" column.
I don't mind what syntax we use to render newlines within a table; as we can instruct the model to use whatever syntax is supported; however
<br>seems to be most common in the absence of a markdown standard.The closest issue to this I can find is #1663.
See example below:

Desired Solution you'd like
Render
<br>or\nas linebreaks within a table cell, allowing multiline tables to be produced and copied out as rich text.Alternatives Considered
No response
Additional Context
No response
@tjbck commented on GitHub (Mar 11, 2025):
HTML will not be rendered directly to prevent XSS.
@ciejer commented on GitHub (Mar 11, 2025):
Does that constraint include the \n option?
I'm happy to invest time in a PR.