mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 19:08:59 -05:00
[GH-ISSUE #5369] Incorrect numbering on Numbered lists with lines in between. #13959
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @lufixSch on GitHub (Sep 12, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/5369
Bug Report
Installation Method
Docker/Docker-Compose
Environment
Open WebUI Version: 0.3.16
Operating System: Debian
Browser (if applicable): Firefox
Confirmation:
Expected Behavior:
The numbering in a list displayed in OpenWebUI should be the same as the numbering produced by the LLM.
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 restarts at "1" if a text block is between the two items in the list. This happens even though the LLM numbered the items correctly.
Reproduction Details
Steps to Reproduce:
Logs and Screenshots
Screenshots/Screen Recordings (if applicable):
Original Markdown:
Rendered Markdown

@tjbck commented on GitHub (Sep 12, 2024):
Fixed on dev!