[GH-ISSUE #6146] Incorrect numbering on unordered numbered lists #52924

Closed
opened 2026-05-05 14:08:10 -05:00 by GiteaMirror · 0 comments
Owner

Originally created by @lufixSch on GitHub (Oct 12, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/6146

Bug Report

Installation Method

Docker/Docker-Compose

Environment

  • Open WebUI Version: 0.3.32

  • Operating System: Debian

  • Browser (if applicable): Firefox

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 numbering in a list displayed in OpenWebUI should be the same as the numbering produced by the LLM.

I already reported a similar issue some weeks prior (#5369). Even though the specific edge case was fixed, the core issue still persists. I expect the rendered Markdown to adhere to the LLM output.

Actual Behavior:

When rendering a numbered list generated by the LLM, the numbering provided by the LLM is ignored

Description

Bug Summary:
When the LLM generates a numbered List in Markdown, the numbering of the lists continuous based on the first number in the list. If the list is unordered or a number is missing, all following numbers don't match the LLM output. This happens even though the LLM numbered the items correctly.

Reproduction Details

Steps to Reproduce:

  1. Start Open WebUI
  2. Create a Chat
  3. Replace the LLM Response with the minimal example below
  4. Press Save

Logs and Screenshots

Screenshots/Screen Recordings (if applicable):
Original Markdown:

3. ótis

2. Fira

1. MAX

4. lula

7. Jorphy

10. Kira

5. Zelda

6. Eamon

9. Chriskie

10. Bl centrifugation

Rendered Markdown
image

Originally created by @lufixSch on GitHub (Oct 12, 2024). Original GitHub issue: https://github.com/open-webui/open-webui/issues/6146 # Bug Report ## Installation Method Docker/Docker-Compose ## Environment - **Open WebUI Version: 0.3.32** - **Operating System: Debian** - **Browser (if applicable): Firefox** **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. - [ ] I have included the browser console logs. - [ ] 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 numbering in a list displayed in OpenWebUI should be the same as the numbering produced by the LLM. I already reported a similar issue some weeks prior (#5369). Even though the specific edge case was fixed, the core issue still persists. I expect the rendered Markdown to adhere to the LLM output. ## Actual Behavior: When rendering a numbered list generated by the LLM, the numbering provided by the LLM is ignored ## Description **Bug Summary:** When the LLM generates a numbered List in Markdown, the numbering of the lists continuous based on the first number in the list. If the list is unordered or a number is missing, all following numbers don't match the LLM output. This happens even though the LLM numbered the items correctly. ## Reproduction Details **Steps to Reproduce:** 1. Start Open WebUI 2. Create a Chat 3. Replace the LLM Response with the minimal example below 4. Press Save ## Logs and Screenshots **Screenshots/Screen Recordings (if applicable):** Original Markdown: ``` 3. ótis 2. Fira 1. MAX 4. lula 7. Jorphy 10. Kira 5. Zelda 6. Eamon 9. Chriskie 10. Bl centrifugation ``` Rendered Markdown ![image](https://github.com/user-attachments/assets/3e3d9fbe-679b-447b-86d2-9a59710af836)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#52924