frontend for xcvr appview

increment idx

+2 -2
+2 -2
src/lib/components/Transmission.svelte
··· 45 45 } 46 46 let res = []; 47 47 let idx = 0; 48 - links.forEach((link, i) => { 48 + links.forEach((link) => { 49 49 if (link.start > idx) { 50 50 const beforeText = body.substring(idx, link.start); 51 51 res.push({ ··· 59 59 isLink: true, 60 60 key: res.length, 61 61 }); 62 - idx: link.end; 62 + idx = link.end; 63 63 }); 64 64 if (idx < body.length) { 65 65 const afterText = body.substring(idx);