/
zOMGdev
/
cppcms
Обзор
Документация
Войти
/
zOMGdev
/
cppcms
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
examples/xss/tinymce_profile.js
31 строка
556 B
Artyom Beilis
Added XSS filtering example
31 авг 2011, 13:45
31 авг 2011, 13:45
f5f3b55
Код
Авторство
О чём код?
{ // // Profile for simple tinymce // theme with autolink plugin // "encoding" : "UTF-8", "entities" : [ "nbsp" ], "tags" : { "opening_and_closing" : [ "p", "ul","ol","li", // lists "strong", "em", "span", "a" ], "stand_alone" : [ "br" , "hr" ] }, "attributes" : [ { "tags" : [ "a" ], "attributes" : [ "href" ], "type" : "absolute_uri" }, { "tags" : [ "span" ], "attributes" : [ "style" ], "type" : "regex", "expression" : "(\\s*text-decoration\\s*:\\s*(underline|line-through)\\s*;)*" } ] }