Add respond_to blocks, because we only allow html (fixes #12043).