Originally created by @fbirlik on GitHub (Mar 7, 2024).
Bug Report
Description
Bug Summary:
Numbered lists with an additional newline between items are rendered incorrectly.
Steps to Reproduce:
Ask for a list of items (if response doesn't contain newlines between items, manually add them)
Expected Behavior:
List items should render next to the number
Actual Behavior:
Item text starts in another line instead of next to the number.
Logs and Screenshots
Screenshots (if applicable):
Additional Information
markup.js adds additional 'p' tags within 'li' elements if there is an additional newline between items. I believe '.prose ol > li::before' css results 'p' tag to become block.
Originally created by @fbirlik on GitHub (Mar 7, 2024).
# Bug Report
## Description
**Bug Summary:**
Numbered lists with an additional newline between items are rendered incorrectly.
**Steps to Reproduce:**
Ask for a list of items (if response doesn't contain newlines between items, manually add them)
**Expected Behavior:**
List items should render next to the number
**Actual Behavior:**
Item text starts in another line instead of next to the number.
## Logs and Screenshots
**Screenshots (if applicable):**
<img width="701" alt="Screenshot 2024-03-06 at 8 37 06 PM" src="https://github.com/open-webui/open-webui/assets/31392854/2a70dc94-ca5d-4eb6-a5ee-605f1324df19">
## Additional Information
markup.js adds additional 'p' tags within 'li' elements if there is an additional newline between items. I believe '.prose ol > li::before' css results 'p' tag to become block.
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 @fbirlik on GitHub (Mar 7, 2024).
Bug Report
Description
Bug Summary:
Numbered lists with an additional newline between items are rendered incorrectly.
Steps to Reproduce:
Ask for a list of items (if response doesn't contain newlines between items, manually add them)
Expected Behavior:
List items should render next to the number
Actual Behavior:
Item text starts in another line instead of next to the number.
Logs and Screenshots
Screenshots (if applicable):
Additional Information
markup.js adds additional 'p' tags within 'li' elements if there is an additional newline between items. I believe '.prose ol > li::before' css results 'p' tag to become block.
@fbirlik commented on GitHub (Mar 7, 2024):
PR #1077 fixes the issue