mirror of
https://github.com/open-webui/open-webui.git
synced 2026-03-22 06:02:06 -05:00
markdown images not getting rendered #2011
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 @shadowfaxproject on GitHub (Sep 6, 2024).
Bug Report
Installation Method
pip install.
Environment
Open WebUI Version: 0.3.19, 0.3.18 ... 0.3.10 (tested with these)
Ollama (if applicable): 0.3.9 (FYI)
Operating System: MacOS on M3 Mac
Browser (if applicable): Chrome Version 128.0.6613.120 (Official Build) (arm64), Safari Version 17.1 (19616.2.9.11.7)
Confirmation:
Expected Behavior:
When following markdown is provided as input to chat, it's expected to display the favicon.png icon twice (one with link enabled, other just an image):
Actual Behavior:
open_webui version 0.3.10: it behaves as expected. (screenshot attached)
[Describe what actually happened.]
open_webui version 0.3.11 onward, the first image does not get rendered. Instead it shows the link-text. The second image gets rendered. Tested and found the behavior for 0.3.12, 0.3.18, 0.3.19
Description
Bug Summary:
Broken markdown rendering
Reproduction Details
Steps to Reproduce actual behavior (0.3.19):
pip install open-webuiopen-webui serveSteps to Reproduce desired behavior (0.3.10):
Exact same steps. Just make sure you are working with open_webui 0.3.10
Logs and Screenshots
Desired Behavior

Actual behavior

Browser Console Logs:
[Include relevant browser console logs, if applicable]
Docker Container Logs:
[Include relevant Docker container logs, if applicable]
Screenshots/Screen Recordings (if applicable):
[Attach any relevant screenshots to help illustrate the issue]
Additional Information
[Include any additional details that may help in understanding and reproducing the issue. This could include specific configurations, error messages, or anything else relevant to the bug.]
Note
If the bug report is incomplete or does not follow the provided instructions, it may not be addressed. Please ensure that you have followed the steps outlined in the README.md and troubleshooting.md documents, and provide all necessary information for us to reproduce and address the issue. Thank you!
@tjbck commented on GitHub (Sep 6, 2024):
Fixed on dev.
@shadowfaxproject commented on GitHub (Sep 6, 2024):
Thanks for jumping on to this so quickly. Tested this with dev. It is able to display both images now which is great.
There is still a behavior not identical to 0.3.10. When you click on the first image (that links to google.com), it opens that link in a new tab (as expected). But in the original window it also expands and shows the image in full-screen (not what I was expected or experienced in 0.3.10). Attached is a screenshot.
