我把代码给贴出来:
<head>
function html(constring)
constring=replace(constring,"<","<")
constring=replace(constring,">",">")
constring=replace(constring,"'","´")
constring=replace(constring,CHR(13),"")
constring=replace(constring,CHR(10),"<br>")
constring=replace(constring,chr(32)," ")
constring=replace(constring,CHR(10)&CHR(10),"</p><p>")
html=constring
end function
引用:
<td colspan="2" valign="top" height="130"><%=html(rs("tz_content"))%></td>