Strip empty paragraphs from works on Archive of Our Own
< 腳本AO3: strip empty paragraphs的回應
Bug: script removes inline images from fics.
Edit: I had a fix here but I know jack about Javascript so it only fixed half the problem. Whoops!
Possible actual fix: replace line 14 with if (paragraphs[i].textContent.trim() == "" & paragraphs[i].innerHTML.search("img")==-1) {
if (paragraphs[i].textContent.trim() == "" & paragraphs[i].innerHTML.search("img")==-1) {
登入以回復
土豆服务器,请按需使用
镜像地址随时可能被墙,建议加群获取最新地址
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址
Bug: script removes inline images from fics.
Edit: I had a fix here but I know jack about Javascript so it only fixed half the problem. Whoops!
Possible actual fix: replace line 14 with
if (paragraphs[i].textContent.trim() == "" & paragraphs[i].innerHTML.search("img")==-1) {