CppCMS
Main Page
Related Pages
Modules
Namespaces
Classes
Files
CppCMS - C++ Web Development Framework
Examples
XSS filters and their use example
xss/tinymce_profile.js Configuration File
{
//
// 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*;)*"
}
]
}
Generated on Sun Dec 3 2017 22:47:16 for CppCMS by
1.8.11