Moved tag whitelist check to HELPERS.

Removed img tag from whitelist.
This commit is contained in:
Chinsky
2013-02-12 20:43:22 +04:00
parent fea160d6f0
commit e34d033cc9
3 changed files with 20 additions and 17 deletions

View File

@@ -28,7 +28,7 @@ var/global/list/global_map = null
//////////////
var/list/paper_tag_whitelist = list("center","p","div","span","h1","h2","h3","h4","h5","h6","hr","pre", \
"big","small","font","i","u","b","s","sub","sup","tt","br","hr","img","ol","ul","li","caption","col", \
"big","small","font","i","u","b","s","sub","sup","tt","br","hr","ol","ul","li","caption","col", \
"table","td","th","tr")
var/list/paper_blacklist = list("java","onblur","onchange","onclick","ondblclick","onfocus","onkeydown", \
"onkeypress","onkeyup","onload","onmousedown","onmousemove","onmouseout","onmouseover", \