<%
PublicFunctionUbBCode (StrContent)
Dimre
Setre = newregexp
re.ignorecase = True
re.global = verdadero
'过滤危险脚本
re.pattern = "(</script>)"
strContent = re.replace (strContent, "</script>")
re.pattern = "(script :)"
strContent = re.replace (strContent, "script:")
re.pattern = "(script)"
strContent = re.replace (strContent, "script")
re.pattern = "(js :)"
strContent = re.replace (strContent, "js:")
re.pattern = "(valor)"
strContent = re.replace (strContent, "valor")
re.pattern = "(sobre :)"
strContent = re.replace (strContent, "Acerca de:")
re.pattern = "(archivo :)"
strContent = re.replace (strContent, "archivo:")
re.pattern = "(document.cookie)"
strContent = re.replace (strContent, "Documents.cookie")
re.pattern = "(VBS :)"
strContent = re.replace (strContent, "VBS:")
re.pattern = "(On (mouse | Salir | Error | Haga clic | Key))"
strContent = re.replace (strContent, "en $ 2")
re.pattern = "<img. [^>]*src (= |) (. [^>]*)>"
'strContent = re.replace (strContent, "<imgsrc = $ 2onclick =" "javaScript: window.open (this.src);" "style =" "cursor: puntero" "border =" "0" ">")
strContent = re.replace (strContent, "<imgsrc = $ 2border =" "0" ">")
're.pattern = "<img (. [^>]*)>"
'strContent = re.replace (strContent, "<img $ 1onload =" "returnimgzoom (this, 550)" ">")