Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/design-patterns/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Internet explorer 8 Internet Explorer中的TinyMCE行返回_Internet Explorer 8_Struts_Tinymce - Fatal编程技术网

Internet explorer 8 Internet Explorer中的TinyMCE行返回

Internet explorer 8 Internet Explorer中的TinyMCE行返回,internet-explorer-8,struts,tinymce,Internet Explorer 8,Struts,Tinymce,在Internet Explorer中使用tinyMCE编辑器编辑文本时,如果在段落之间添加额外的空行,tinyMCE将生成以下HTML代码: <p>..</p>..<p>..</p> Struts 1 ActionForm中的setter报告接收到以下字符串: <p>Â </p><p>Â </p> 这个问题在Firefox中不会出现,但只在IE8中出现 有人对tinyMCE编辑器为什么不能正确地

在Internet Explorer中使用tinyMCE编辑器编辑文本时,如果在段落之间添加额外的空行,tinyMCE将生成以下HTML代码:

<p>..</p>..<p>..</p>
Struts 1 ActionForm中的setter报告接收到以下字符串:

<p>Â </p><p>Â </p>
这个问题在Firefox中不会出现,但只在IE8中出现


有人对tinyMCE编辑器为什么不能正确地使用IE 8和Struts 1发布行返回有什么建议吗?

解决方法:添加服务器端代码以从输入字符串中删除字符。

作为后续,我发现问题源于我的html表单具有属性enctype=multipart/form data set。如果删除多部分enctype,问题就会消失。不幸的是,我的表单需要发布多部分数据。