Lines Matching refs:block
26 for (let block of this.outer.blocks)
27 if (this.isIsolatedParagraph(block))
28 blocks.push(block);
39 for (let block of blocks) {
42 if (block?.matched) {
48 this.tools.media.same(score, block, node);
49 this.tools.sameWords(score, block.cleantext, node.handle.textContent, 'whitespace');
53 scores.push({ node:node, block:block, score:score.m/score.n}); property
80 score.block.matched = true;
85 const startline = this.outer.startline + score.block.start;
86 const endline = this.outer.startline + score.block.end;
91 isIsolatedParagraph (block) { argument
95 for (let line of block.text.split("\n"))
101 if (this.tools.hasBlockTags(block.text))
105 this.tools.media.gatherFromText(block); // Remove media tags from text
106 … this.tools.replaceLinks(block); // Replace links with what 'node.textContent' would show
109 if (this.tools.hasImbaInlineTags(block.nolinktext))