Don't ask me why, but my changes broke the original test. I manually inspected the resulting HTML, and it's identical from before my commit.