在做网站用ewebeditor编辑器时,在插入图片什么之后总是出现代码不规范等问题!
研究吧!!Google、手册之后终于明白:
<input name="news_content" type="hidden" value="<%=server.HTMLEncode(rsn("news_content"))%>"/>
<iframe ID="eWebEditor1" src="ewebeditor/ewebeditor.asp?id=news_content&style=s_coolblue1" frameborder="0" scrolling="no" width="550" HEIGHT="350"></iframe>
要加上server.htmlencode()
呵呵!!