Skip to content

Commit f40189a

Browse files
Gregg CochranCopilot
andcommitted
Fix: unescaped apostrophe in Today's breaking JS parser
The string 'Today's Total' had a literal apostrophe inside a single-quoted JS string, causing a SyntaxError that killed the entire page script. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 0fa7857 commit f40189a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

site/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1033,7 +1033,7 @@ <h2 class="section-title glow-green">Up and Running in 30 Seconds</h2>
10331033
html+='<div class="term-line"><span class="t-dim">║</span> <span class="t-white t-bold">Active Sessions:</span> <span class="t-green t-bold" id="numSess">'+lastVals.sessions+'</span> '+bar(sessions,10,20)+' <span class="t-dim">║</span></div>';
10341034
html+='<div class="term-line"><span class="t-dim">║</span> <span class="t-white t-bold">Running Agents :</span> <span class="t-cyan t-bold" id="numAgts">'+String(lastVals.agents).padStart(2)+'</span> '+bar(agents,20,20)+' <span class="t-dim">║</span></div>';
10351035
html+='<div class="term-line"><span class="t-dim">║</span> <span class="t-white t-bold">Velocity :</span> <span class="t-yellow t-bold" id="numVel">'+lastVals.velocity.toFixed(1)+'</span><span class="t-dim">/hr</span> <span class="t-dim">peak: '+peak+'/hr</span> <span class="t-dim">║</span></div>';
1036-
html+='<div class="term-line"><span class="t-dim">║</span> <span class="t-white t-bold">Today's Total :</span> <span class="t-pink t-bold" id="numTod">'+lastVals.today+'</span> <span class="t-dim"> trending up</span> <span class="t-dim"></span></div>';
1036+
html+='<div class="term-line"><span class="t-dim">║</span> <span class="t-white t-bold">Today\u2019s Total :</span> <span class="t-pink t-bold" id="numTod">'+lastVals.today+'</span> <span class="t-dim">▲ trending up</span> <span class="t-dim">║</span></div>';
10371037
html+='<div class="term-line">'+panelBot()+'</div>';
10381038
html+='<div class="term-line">&nbsp;</div>';
10391039

0 commit comments

Comments
 (0)