mirror of
https://github.com/NohamR/safari-internal-js.git
synced 2026-11-25 15:39:48 +00:00
prettify
This commit is contained in:
1 parent
f0bd940086
commit
c768a1667c
8 files changed
+57
-66
No files matched your search
@@ -12,7 +12,7 @@ function plaintextVersionOfNodeAppendingNewlinesBetweenBlockElements(e) {
|
||||
null,
|
||||
);
|
||||
let t = "";
|
||||
for (n.currentNode = e; n.nextNode(); ) {
|
||||
for (n.currentNode = e; n.nextNode();) {
|
||||
const e = n.currentNode;
|
||||
if (e.nodeType === Node.TEXT_NODE) {
|
||||
t += e.textContent;
|
||||
|
||||
Reference in new issue
Block a user