Thread:Sylvandyr/@comment-4610180-20120826210249/@comment-4830404-20120914060807

Ah okay, I fixed it. Apparently the jQuery .appendTo action likes to trim white space or something weird (including nbsp tags). So I built a String with the whitespace and performed the .appendTo function only once, and it worked.