Fixed evaluation of HTML through jQuery
authorAlexander Ebert <ebert@woltlab.com>
Thu, 25 Apr 2013 13:31:02 +0000 (15:31 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Thu, 25 Apr 2013 13:31:02 +0000 (15:31 +0200)
commit9ae579726fcff62309f91b619a6390de9a82f560
treef2909cf7bf46decb51dabd6584c2c65e0127cd56
parenteb69a2e939c5e5ee9b17c179e49c70f1d239de82
Fixed evaluation of HTML through jQuery

You should alway return HTML using the array index "template" (accessible as data.returnValues.template), as it's contents will be automatically trimmed.

If you fail to use it, make sure to either trim it server-side or use $($.parseHTML(htmlString)).

See http://jquery.com/upgrade-guide/1.9/#jquery-htmlstring-versus-jquery-selectorstring
wcfsetup/install/files/js/WCF.js