Similar to #9351 (closed) but with the usage of jQuery.html() which should be replaced by jQuery.text().