Markdown files imported into workspace knowledge strips out important markdown (link urls) #2554

Closed
opened 2025-11-11 15:09:35 -06:00 by GiteaMirror · 2 comments
Owner

Originally created by @danielj23 on GitHub (Nov 4, 2024).

Bug Report

Installation Method

git clone

Environment

  • Open WebUI Version: v0.3.35

  • Operating System: Windows 10

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:

If I import markdown files into workspace/knowledge for a model, I would expect that a link would get imported with the markdown so that the model has access to the link to provide during prompts.

Actual Behavior:

Markdown is imported without any actual markdown and only plain text is imported. When I ask my model for links from the imported knowledge, it doesn't have it because its stripped out during import.

Description

Bug Summary:
Markdown files (.md) imported into workspace/knowledge will not include important knowledge from the markdown file.

Reproduction Details

Steps to Reproduce:
Create a markdown file that contains a proper link.

Make a link to something [the link](https://microsoft.com)! This link will not show up once imported into open-webui

Save the file as test.md
Go to a workspace model and attempt to import test.md into "knowledge"
Try to view the test.md after import and you will not see the https://microsoft.com
Ask your model for the link and it will not know (because it was stripped from import)

Originally created by @danielj23 on GitHub (Nov 4, 2024). # Bug Report ## Installation Method git clone ## Environment - **Open WebUI Version:** [v0.3.35](https://github.com/open-webui/open-webui/releases/tag/v0.3.35) - **Operating System:** Windows 10 **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: If I import markdown files into workspace/knowledge for a model, I would expect that a link would get imported with the markdown so that the model has access to the link to provide during prompts. ## Actual Behavior: Markdown is imported without any actual markdown and only plain text is imported. When I ask my model for links from the imported knowledge, it doesn't have it because its stripped out during import. ## Description **Bug Summary:** Markdown files (.md) imported into workspace/knowledge will not include important knowledge from the markdown file. ## Reproduction Details **Steps to Reproduce:** Create a markdown file that contains a proper link. `Make a link to something [the link](https://microsoft.com)! This link will not show up once imported into open-webui` Save the file as test.md Go to a workspace model and attempt to import test.md into "knowledge" Try to view the test.md after import and you will not see the https://microsoft.com Ask your model for the link and it will not know (because it was stripped from import)
Author
Owner

@tjbck commented on GitHub (Nov 4, 2024):

Fixed on dev!

@tjbck commented on GitHub (Nov 4, 2024): Fixed on dev!
Author
Owner

@danielj23 commented on GitHub (Nov 4, 2024):

sweet

@danielj23 commented on GitHub (Nov 4, 2024): sweet
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#2554