|
- <br/> <% <br/> dim conn,connstr <br/> connstr="DBQ="+server.mappath("gstbook.mdb")+";DefaultDir=;DRIVER={Microsoft Access Driver (*.mdb)};" <br/> set conn=server.CreateObject("adodb.connection") <br/> conn.open connstr <br/> %> <br/> <br/> <% <br/> <br/> set rs=server.createobject("adodb.recordset") <br/> sql="select top 8 Title from book order by id desc " <br/> rs.open sql,conn,1,1 <br/> <br/> %> <br/> <br/> <br/> <br/> <% <br/> <br/> sub sooxii(i) <br/> do while not i.eof <br/> response.write"<tr><td>" <br/> response.write""&i("title")&"" <br/> response.write"</td></tr>" <br/> i.movenext <br/> loop <br/> <br/> <br/> end sub <br/> %> <br/> <html> <br/> <head> <br/> <title>测试</title> <br/> <body> <br/> <br/> <TABLE cellSpacing=1 cellPadding=0 width="400" > <br/> <br/> <br/> <% <br/> sooxii(rs) <br/> rs.close <br/> set rs=nothing <br/> %> <br/> </table> <br/> <br/> <br/> <br/> <br/> </BODY></HTML> <br/>
复制代码
上面的内容经火车采集后居然变成了:
- <br/> <% <br/> dim conn,connstr <br/> connstr="DBQ="+server.mappath("gstbook.mdb")+";DefaultDir=;DRIVER={Microsoft Access Driver (*.mdb)};" <br/> set conn=server.CreateObject("adodb.connection") <br/> conn.open connstr <br/> %> <br/> <br/> <% <br/> <br/> set rs=server.createobject("adodb.recordset") <br/> sql="select top 8 Title from book order by id desc " <br/> rs.open sql,conn,1,1 <br/> <br/> %> <br/> <br/> <br/> <br/> <% <br/> <br/> sub sooxii(i) <br/> do while not i.eof <br/> response.write"<tr><td>" <br/> response.write""%26amp;i("title")%26amp;"" <br/> response.write"</td></tr>" <br/> i.movenext <br/> loop <br/> <br/> <br/> end sub <br/> %> <br/> <html> <br/> <head> <br/> <title>测试</title> <br/> <body> <br/> <br/> <TABLE cellSpacing=1 cellPadding=0 width="400" > <br/> <br/> <br/> <% <br/> sooxii(rs) <br/> rs.close <br/> set rs=nothing <br/> %> <br/> </table> <br/> <br/> <br/> <br/> <br/> </BODY></HTML> <br/>
复制代码
居然把已经转义的HTML代码全部转了回来,导致版面支离破碎!惨不忍睹!
我还一直在找设置规则的原因
真不知道3.01出了什么事了!!
希望能尽快修复这个BUG!!
[ 本帖最后由 zhouliang 于 2006-12-1 13:32 编辑 ] |
|