I suspect that the browsers don't like the fact that you have included an HTML tag and a newline in your hidden value. Why not have the script specified in your form's ACTION attribute add the <br>\n on the receiving end? I'll bet this will take care of your problem.
When you have full control over an input field's content (as you almost always do with a hidden field) it's best to stick with the strict HTML spec, which forbids certain unescaped characters including <, >, &, and ". Try using <, >, &, and " instead, and try to avoid newlines in HTML element attributes.