tangled
alpha
login
or
join now
moth11.net
/
xcvr
2
fork
atom
frontend for xcvr appview
2
fork
atom
overview
issues
pulls
pipelines
increment idx
moth11.net
7 months ago
cd63ebcc
27ed88d0
+2
-2
1 changed file
expand all
collapse all
unified
split
src
lib
components
Transmission.svelte
+2
-2
src/lib/components/Transmission.svelte
···
45
45
}
46
46
let res = [];
47
47
let idx = 0;
48
48
-
links.forEach((link, i) => {
48
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
62
-
idx: link.end;
62
62
+
idx = link.end;
63
63
});
64
64
if (idx < body.length) {
65
65
const afterText = body.substring(idx);