Originally created by @ninicdennis on GitHub (Feb 2, 2025).
Bug Report
Installation Method
[Describe the method you used to install the project, e.g., git clone, Docker, pip, etc.]
All setup with docker
Environment
Open WebUI Version: v0.5.7
Ollama (if applicable): 0.5.7-0-ga420a45-dirty
Operating System: Fedora Linux
Browser (if applicable): Brave
Confirmation:
I have read and followed all the instructions provided in the README.md.
I am on 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 the exact steps to reproduce the bug in the "Steps to Reproduce" section below.
Expected Behavior:
The code block will properly format the csharp code so that it is not contained on a single line.
Actual Behavior:
After sending the message, the format will automatically place everything onto one line, it does not seem to matter whether tab or space indents was used.
Description
Bug Summary:
When submitting a message using csharp and pasting in code from Rider, the code will not format properly and return in one line.
Paste this into the prompt, and submit the message, that will format the message back into a single line.
Logs and Screenshots
Browser Console Logs:
Screenshots/Screen Recordings (if applicable):
[Attach any relevant screenshots to help illustrate the issue]
Originally created by @ninicdennis on GitHub (Feb 2, 2025).
# Bug Report
## Installation Method
[Describe the method you used to install the project, e.g., git clone, Docker, pip, etc.]
All setup with docker
## Environment
- **Open WebUI Version:** v0.5.7
- **Ollama (if applicable):* 0.5.7-0-ga420a45-dirty*
- **Operating System:** Fedora Linux
- **Browser (if applicable):** Brave
**Confirmation:**
- [x] I have read and followed all the instructions provided in the README.md.
- [x] I am on 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 the exact steps to reproduce the bug in the "Steps to Reproduce" section below.
## Expected Behavior:
The code block will properly format the csharp code so that it is not contained on a single line.
## Actual Behavior:
After sending the message, the format will automatically place everything onto one line, it does not seem to matter whether tab or space indents was used.
## Description
**Bug Summary:**
When submitting a message using csharp and pasting in code from Rider, the code will not format properly and return in one line.
## Reproduction Details
**Steps to Reproduce:**
1. Take the following code:
```
public enum FletchingType {
Plastic = 10,
TurkeyFeather = 5,
GooseFeather = 3
}
```
2. Paste this into the prompt, and submit the message, that will format the message back into a single line.
## Logs and Screenshots
**Browser Console Logs:**

**Screenshots/Screen Recordings (if applicable):**
[Attach any relevant screenshots to help illustrate the issue]


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 @ninicdennis on GitHub (Feb 2, 2025).
Bug Report
Installation Method
[Describe the method you used to install the project, e.g., git clone, Docker, pip, etc.]
All setup with docker
Environment
Open WebUI Version: v0.5.7
Ollama (if applicable): 0.5.7-0-ga420a45-dirty
Operating System: Fedora Linux
Browser (if applicable): Brave
Confirmation:
Expected Behavior:
The code block will properly format the csharp code so that it is not contained on a single line.
Actual Behavior:
After sending the message, the format will automatically place everything onto one line, it does not seem to matter whether tab or space indents was used.
Description
Bug Summary:
When submitting a message using csharp and pasting in code from Rider, the code will not format properly and return in one line.
Reproduction Details
Steps to Reproduce:
Logs and Screenshots
Browser Console Logs:
Screenshots/Screen Recordings (if applicable):
[Attach any relevant screenshots to help illustrate the issue]