¼òµ¥µÄ±£Ö¤ÔÑùÊä³öhtmlµÄc#´úÂë
public string NoExcuteHtml(string Htmlstring)
{
string x = string.Empty;
x = Htmlstring.Replace(@"&", "&");//½«&ÉèÖÃΪ±£Áô×Ö
x = x.Replace(@"<", "<");
x = x.Replace(@">", ">");
x = x.Replace(@" ", " ");
x = x.Replace("\r\n", "<br/>");
return x;
}
Ïà¹ØÎĵµ£º
<table border="1" style="empty-cells:show; border-collapse:collapse;">
<tr><td>111</td><td></td>
<tr><td></td><td>2222</td>
<table>
attention:
style="empty ......
ӦһλÍøÓѵÄÐèÇ󣬲¢ÐÞÕýÁËMVPÀîºé¸ù".NETƽ̨ÏÂWEBÓ¦ÓóÌÐòµÄ²¿Êð(°²×°Êý¾Ý¿âºÍ×Ô¶¯ÅäÖÃ)"ÖеÄosqlÓ÷¨´íÎó£¬ÒѲâÊÔͨ¹ý¡£
Ò»).´´½¨²¿ÊðÏîÄ¿
1. ÔÚ“Îļþ”²Ëµ¥ÉÏÖ¸Ïò“Ìí¼ÓÏîÄ¿”£¬È»ºóÑ¡Ôñ“н¨ÏîÄ¿”¡£
2. ÔÚ“Ìí¼ÓÐÂÏîÄ¿”¶Ô»°¿òÖУ¬Ñ¡Ôñ“ÏîÄ¿ÀàÐÍ”´°¸ñÖ ......
¹ö¶¯×ÖÄ»»áÈúܶàÈ˸е½ÐË·Ü£¬ÌرðÊǵÚÒ»´ÎʹÓùö¶¯×ÖĻʱ£¬»á°®²»ÊÍÊÖ¡£ÏÖÔÚ×öÒ»¸öÏêϸµÄ·½°¸£¬ÈÃÄã¸üÈ«ÃæµØÁ˽âһϡ£
¡¡¡¡¹ö¶¯×ÖÄ»ÔÚFrontPageµÄ×é¼þÀïÓУ¬µ«ÊÇFrontPageÕâ¸öÈí¼þÖ»ÄÜÖ§³Öµ¥ÐÐÎÄ×Ö£¬Ò»³öÏÖ¶àÐÐÎÄ×ÖËü¾ÍÎÞÄÜΪÁ¦ÁË£¬¶øÇÒËüÖ»ÄÜÖ§³ÖÒ»Ðйö¶¯!(Èç¹û³öÏÖÖ»Äܹö¶¯Ò»ÐеÄÇé¿ö£¬½â¾ö°ì·¨ÊÇ°ÑÕâ¶Î´úÂëǶÈëµ½Java ......
ÕýÔò±í´ïʽ»ñÈ¡HTML±ê¼ÇÖеÄÄÚÈÝ£¨C#£©
//=====================Begin1========================
//ÊÔÑé×Ö·û´®
string strTmp = string.Empty;
&n ......
À´Ô´£ºhttp://club.it.sohu.com/r-it-1350941-0-0-0.html
Ç°ÑÔ
×î½ü¹ØÓÚHTML5 ³³µÃ»ðÈÈ£¬ºÜ¶àÈËÈÏΪHTML5³öÏÖ»áÃëɱFlash£¬ÒÔÖÁÓÚÔÚ¸÷´ówebÇ°¶Ë¿ª·¢ÂÛ̳³³µÃ²»¿É¿ª½»¡£ÂÛ̳ÀïÈýÑÔÁ½Óï˵µÄ²»¹»¾¡ÐË£¬Ö»ºÃÔÚ×Ô¼ºÒ»Ä¶Èý·ÖµØÀﳨ¿ªÁË˵˵¡£Ò²µ±Ò»´ÎÉñ¹÷£¬Õ¹ÍûÒ»ÏÂwebÇ°¶Ë¿ª·¢µÄδÀ´¡£
Ê×ÏÈÕâÀïËù˵µÄHTML5Ò²²»½öÖ¸HTML5 ......