I have the exact same problem. The html code in both the header and
footer of my payment form stopped rendering, and instead displays all of
the code on the payment form, same as your example. I know the html in
my payment forms was working about 1-2...