The new site looks like it has some hidden embedded tags in the code that needs to be removed.
Gizmo needs to fix it.
Anyway try this with out any spaces or line feeds.
/* PHP CODE HERE, IF NECESSARY */
/* DO NOT CHANGE THE LINE BELOW */
$body = <<<EOF
Body of the custom box here
EOF;
/* DO NOT CHANGE THE LINE ABOVE */