Issue #3533698 by nod_, longwave, danflanagan8, hammerslammer, wim leers: BigPipe does not handle multiple </body> tags correctly (cherry picked from commit 1124c4f9)