When the Excel file is uploaded to the knowledge base and contains picture columns, the markdown picture display data will be mismatched. #13431

Closed
opened 2026-02-21 19:12:08 -05:00 by yindo · 2 comments
Owner

Originally created by @cuihan-coder on GitHub (Apr 27, 2025).

Self Checks

  • This is only for bug report, if you would like to ask a question, please head to Discussions.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • Please do not modify this template :) and fill in all the required fields.

Dify version

1.3

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

Image

✔️ Expected Behavior

No response

Actual Behavior

No response

Originally created by @cuihan-coder on GitHub (Apr 27, 2025). ### Self Checks - [x] This is only for bug report, if you would like to ask a question, please head to [Discussions](https://github.com/langgenius/dify/discussions/categories/general). - [x] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones. - [x] I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - [x] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:) - [x] Please do not modify this template :) and fill in all the required fields. ### Dify version 1.3 ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce <img width="1481" alt="Image" src="https://github.com/user-attachments/assets/90393569-b8bc-4a90-8c2f-7ea47fa8b679" /> ### ✔️ Expected Behavior _No response_ ### ❌ Actual Behavior _No response_
yindo added the 🐞 bugstale labels 2026-02-21 19:12:08 -05:00
yindo closed this issue 2026-02-21 19:12:08 -05:00
Author
Owner

@cuihan-coder commented on GitHub (Apr 27, 2025):

Excel第三行,产生了错误的markdown,应该是0003,但是匹配到了0001的图片链接
Image

@cuihan-coder commented on GitHub (Apr 27, 2025): Excel第三行,产生了错误的markdown,应该是0003,但是匹配到了0001的图片链接 <img width="747" alt="Image" src="https://github.com/user-attachments/assets/d879c421-5bf4-4fba-8faa-80540362f969" />
Author
Owner

@dosubot[bot] commented on GitHub (Apr 27, 2025):

Hello @cuihan-coder! I'm Dosu, your friendly bot here to help with bugs, answer questions, and guide you in becoming a contributor. I'm on standby while we wait for a human maintainer. Let's get this sorted out! 🚀

Dify currently does not support parsing images embedded in Excel cells, which might be causing the mismatched markdown picture display data [1].

Additionally, mismatches in markdown content can occur due to several reasons, such as empty rows being dropped, parsing errors, or data type conversions that do not preserve the original formatting [2].

If you are experiencing issues with image URLs in Excel files, it might be helpful to check if the image URLs are being correctly parsed and mapped to the markdown content.

To continue talking to Dosu, mention @dosu.


Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other

@dosubot[bot] commented on GitHub (Apr 27, 2025): <!-- Greeting --> Hello @cuihan-coder! I'm [Dosu](https://dosu.dev), your friendly bot here to help with bugs, answer questions, and guide you in becoming a contributor. I'm on standby while we wait for a human maintainer. Let's get this sorted out! 🚀 <!-- Answer --> Dify currently does not support parsing images embedded in Excel cells, which might be causing the mismatched markdown picture display data <sup>[[1]](https://github.com/langgenius/dify/issues/17175)</sup>. Additionally, mismatches in markdown content can occur due to several reasons, such as empty rows being dropped, parsing errors, or data type conversions that do not preserve the original formatting <sup>[[2]](https://github.com/langgenius/dify/blob/main/api/core/workflow/nodes/document_extractor/node.py)</sup>. If you are experiencing issues with image URLs in Excel files, it might be helpful to check if the image URLs are being correctly parsed and mapped to the markdown content. <!-- Dosu Comment Footer --> *To continue talking to [Dosu](https://dosu.dev), mention @dosu.* --- <sup>Help Dosu learn! Give it feedback: [Great Response](https://app.dosu.dev/response-feedback/c7279af2-b374-4d46-b5e1-6977583c1441?feedback_type=great_response) | [Irrelevant Answer](https://app.dosu.dev/response-feedback/c7279af2-b374-4d46-b5e1-6977583c1441?feedback_type=irrelevant_answer) | [Incorrect Sources](https://app.dosu.dev/response-feedback/c7279af2-b374-4d46-b5e1-6977583c1441?feedback_type=incorrect_sources) | [Too Verbose](https://app.dosu.dev/response-feedback/c7279af2-b374-4d46-b5e1-6977583c1441?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/c7279af2-b374-4d46-b5e1-6977583c1441?feedback_type=hallucination) | [Bug Report](https://app.dosu.dev/response-feedback/c7279af2-b374-4d46-b5e1-6977583c1441?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/c7279af2-b374-4d46-b5e1-6977583c1441?feedback_type=other)</sup>
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#13431