开发者

codeigniter and tiny_mce wrong input

开发者 https://www.devze.com 2023-03-12 01:22 出处:网络
I\'m trying to use tiny_mce along with my codeigniter application. However, it looks like codeigniter escape almost everything from the textarea, how can i fix this?

I'm trying to use tiny_mce along with my codeigniter application. However, it looks like codeigniter escape almost everything from the textarea, how can i fix this?

I'm using the form helper and the form validation开发者_运维问答 for the textaera form.

What should i do?


Looks like this thread shows some solutions to this problem.


If you’re using XSS filtering in CodeIgniter, you may find it strips out the code Tiny creates. $this->input->post('string', true) is XSS filtered, remove the true boolean to stop it.

0

精彩评论

暂无评论...
验证码 换一张
取 消