diff --git a/public/analytics.js b/public/analytics.js index 99007090..35443d53 100644 --- a/public/analytics.js +++ b/public/analytics.js @@ -786,13 +786,11 @@ const hops = s.path.split(' → '); const rawHops = s.rawHops || []; const hasSelfLoop = hops.some((h, j) => j > 0 && h === hops[j - 1]); - const routeDisplay = hops.map((h, j) => { - const prefix = rawHops[j] || ''; - return `${esc(h)} [${esc(prefix)}]`; - }).join(' → '); + const routeDisplay = hops.map(h => esc(h)).join(' → '); + const prefixDisplay = rawHops.join(' → '); return ` ${i + 1} - ${routeDisplay}${hasSelfLoop ? ' 🔄' : ''} + ${routeDisplay}${hasSelfLoop ? ' 🔄' : ''}
${esc(prefixDisplay)} ${s.count.toLocaleString()} ${s.pct}%