Tencent / Tencent/cherry-markdown

[clinet] 静态资源

Open
#626 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

💻client
Dominant language
JavaScript
Stars
4.9k
Forks
572
Avg merge
17h 5m
Merged PRs (30d)
14

Description

issue type

Bug

Clear and concise description of the problem or idea.

我在开发一个electron应用,其中图片保存到了本地,我在做图片url处理的时候,发现本地的文件路径背会编码,导致无法正常渲染图片,这个可以设置去除这个拦截吗

Additional context

No response

Validations
  • Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
Help us

None

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the Electron case described: a local image file path is encoded during image URL handling and the image fails to render. Trace the static-resource URL handling to identify where the path is altered or intercepted; done means local images render correctly without that unwanted transformation.

Written by the indexing model from the issue text.

Assessment

Tech stack
electron, javascript
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.