mirror of
https://github.com/open-webui/open-webui.git
synced 2026-11-09 10:50:35 -06:00
[GH-ISSUE #17394] issue: Content errors when previewing AI-generated HTML and downloading via openWebUI #33799
Reference in New Issue
Block a user
Originally created by @axh-xecoy on GitHub (Sep 12, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/17394
Check Existing Issues
Installation Method
Docker
Open WebUI Version
v0.6.28
Ollama Version (if applicable)
v0.11.10
Operating System
Debian 12
Browser (if applicable)
Microsoft Edge 140.0.3485.54
Confirmation
README.md.Expected Behavior
I am using the Qwen3 30B A3B (MOE) model in openWebUI and trying to make it generate a cute clock HTML.
The model used here is:
ollama pull qwen3:30b-a3bThe prompt used here is:
请给我用单 html 页面编写一个可爱的时钟,有分针秒针时针,需要对应实际的时间The AI has output the corresponding code. However, when I try to preview it in the page or directly download the HTML via the download button, there are clearly a lot of formatting errors in the downloaded HTML. But when I try to directly copy the code and paste it into an empty HTML file, the content is normal.
Actual Behavior
Under normal circumstances, when I download the file or preview it within the openWebUI page, the content and code should be consistent with the actual output from the AI, rather than having a large number of formatting errors.
Steps to Reproduce
Using the model obtained via "ollama pull qwen3:30b-a3b", I asked the model the question: "请给我用单 html 页面编写一个可爱的时钟,有分针秒针时针,需要对应实际的时间". So far, I have tried asking this question 3 times, and the same issue has occurred each time.
Logs & Screenshots
copy to file.html
artifact-939a3589-d705-4db2-a891-9cc284b8b9f8-0.html
docker-compose.yml
Additional Information
No response