reverted the revert of 6966e97608dae2e16b3c28f3fe4f48a07de26d01: it turns out it was caused by missing allowed html to the wp_kses() call