cherry-markdown icon indicating copy to clipboard operation
cherry-markdown copied to clipboard

[Client] 本地图片无法显示

Open whitemiaool opened this issue 3 years ago • 4 comments

Prerequisites

  • [ ] There isn't an existing issue that requests the same feature, to avoid duplicates.

Issue Type

Bug Report

Description of the Problem or Idea

使用本地图片无法显示

version: 0.8.29

image

Further Information

No response

Contributing

None

whitemiaool avatar Dec 04 '23 09:12 whitemiaool

reference: https://github.com/Tencent/cherry-markdown/issues/626#issuecomment-1817746829

RSS1102 avatar Dec 04 '23 09:12 RSS1102

路径不支持有空格~

whitemiaool avatar Dec 04 '23 09:12 whitemiaool

8f96c93c087ae3da8292f73ca1a59d5

37fee74dd0e6b6d5584537bdd671903

RSS1102 avatar Dec 04 '23 09:12 RSS1102

路径不支持有空格~

是的,需要将空格做一下encode,建议传入 URI 时调用一次 encodeURI。

lyngai avatar Dec 04 '23 09:12 lyngai