-
-
Notifications
You must be signed in to change notification settings - Fork 148
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
如何去除 waline 评论导入后的无用回复 @AT 标签 #124
Comments
🤔 我觉得这个可以删掉,可以用正则表达式删掉 |
那我都删掉吧! |
我写了段 JS 正则表达式删除这个回复的,一会儿我加到 Artransfer 在线版里面,但是需要把 `<a href="#123456" clsss="test-class">@TEST USER</a>`.replace(/<a\s+(?:[^>]*?\s+)?href="#(\d+)?"[^>]*>@(.*?)<\/a>/ig, '') |
非常感谢! |
https://artransfer.netlify.app/ 这里上传从 waline 导出的 |
收到! |
这个功能我之后直接加在 waline 导出 Artrans 的 Artransfer-CLI 里面 |
相信会有更多的人转来! |
Signed-off-by: qwqcode <[email protected]>
Signed-off-by: qwqcode <[email protected]>
看起来没什么问题,issue 就关闭咯~ |
好嘞! |
The text was updated successfully, but these errors were encountered: