The HTML parsing which is performed on browse() output removes some whitespace which has an impact. Results shown in browse()d windows differs from what is rendered by IE itself.
Code Snippet (if applicable) to Reproduce Problem:
Here's a toy example which demonstrates what the HTML parser is doing:
src << browse("A <span id='foo'></span> B <script>alert(document.body.innerHTML.replace(/ /g,'*'));</script>", "window=test")
In IE11, my system IE:
Does the problem occur:
Every time? Or how often? Every time.
In other games? Yes, in a test project.
In other user accounts? Unknown.
On other computers? Unknown.
When does the problem NOT occur?
When the stripped whitespace is not, in fact, significant.
Did the problem NOT occur in any earlier versions? If so, what was the last version that worked? (Visit http://www.byond.com/download/build to download old versions for testing.)
Present in 511.1385 and 512.1445.
Probably some JS hack is possible, or maybe nbsp fiddling, but I haven't got anything exact yet.