whenever you do this:
el.innerHTML += HTMLyou'd be better off with this:
el.insertAdjacentHTML("beforeend", html)reason being, the latter doesn't trash and re-create/re-stringify what was previously already there
Recent articles
- New prompt injection papers: Agents Rule of Two and The Attacker Moves Second - 2nd November 2025
 - Hacking the WiFi-enabled color screen GitHub Universe conference badge - 28th October 2025
 - Video: Building a tool to copy-paste share terminal sessions using Claude Code for web - 23rd October 2025