rename content/post to content/posts
This commit is contained in:
1 parent
cda4dbb24b
commit
bcd4bc9282
866 files changed
+43
-25
No files matched your search
@@ -39,7 +39,7 @@
|
||||
var textNodes = [];
|
||||
while (walker.nextNode()) {
|
||||
var node = walker.currentNode;
|
||||
if (node.parentElement && node.parentElement.closest('a, .link-card, code, pre, video')) continue;
|
||||
if (node.parentElement && node.parentElement.closest('a, .link-card, code, pre, video, #szh')) continue;
|
||||
if (URL_RE.test(node.textContent)) textNodes.push(node);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user