From 98e9ee0ec7f7513fd1de2005ab2fa419f73ce3f2 Mon Sep 17 00:00:00 2001 From: Aral Roca Date: Sat, 1 Aug 2026 20:29:57 +0200 Subject: [PATCH 1/2] fix: an ignored node is never pruned, moved or rewritten MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `shouldIgnoreNode` only made the walk hop over a node. Everything else still treated it as ordinary: it was counted among the old children, so the tail removal took one node too many, and it could be matched against an incoming node and rewritten into it. The case that surfaced it: a page whose head holds runtime-injected stylesheets (a lazy editor's CSS, a dev server's