Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

markdown文件的链接如果带了注释总是迁移失败 #1

Closed
iplaypi opened this issue May 2, 2019 · 1 comment
Closed

markdown文件的链接如果带了注释总是迁移失败 #1

iplaypi opened this issue May 2, 2019 · 1 comment
Labels
bug Something isn't working fix

Comments

@iplaypi
Copy link

iplaypi commented May 2, 2019

1、如果链接是这样的:![在浏览器中打开图片可以正常显示](https://ws1.sinaimg.cn/large/b7f2e3a3gy1g2hfpvew8yj212p0k2q3i.jpg "在浏览器中打开图片可以正常显示") ,迁移失败。
2、如果链接是这样的,迁移成功:![在浏览器中打开图片可以正常显示](https://ws1.sinaimg.cn/large/b7f2e3a3gy1g2hfpvew8yj212p0k2q3i.jpg) 。

这个要怎么解?

@Molunerfinn
Copy link
Member

这个应该是正则匹配提取URL的问题。
https://github.com/PicGo/picgo-plugin-pic-migrater/blob/master/src/lib/FileHandler.ts#L26
之后会修复

@Molunerfinn Molunerfinn added the bug Something isn't working label May 2, 2019
@Molunerfinn Molunerfinn added the fix label May 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working fix
Projects
None yet
Development

No branches or pull requests

2 participants