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

如果文档中存在2张连着的图片时,后面的图片缺失 #4

Open
ZhenhongDu opened this issue Feb 22, 2022 · 1 comment
Open

Comments

@ZhenhongDu
Copy link
Contributor

ZhenhongDu commented Feb 22, 2022

正常导出单篇文档的时候,连着的图片的链接长这样:

![image.png](https://cdn.nlark.com/xxx1.png)
![image.png](https://cdn.nlark.com/xxx2.png)
![image.png](https://cdn.nlark.com/xxx3.png)

而通过API导出文档时,连着的图片链接会是这样:

![image.png](https://cdn.nlark.com/xxx1.png)<br />![image.png](https://cdn.nlark.com/xxx2.png)<br />![image.png](https://cdn.nlark.com/xxx3.png)

而这也就导致了正则匹配产生错误,不能正确地匹配到全部图片链接

@ZhenhongDu
Copy link
Contributor Author

ZhenhongDu commented Feb 23, 2022

我自己修改了ExportMD的代码,增加了导出md的正则表达式,连续导出图片有问题的朋友可以参考我复刻的仓库ExportMD-rectify-pics

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant