Added extension: kses-x-html-0.4.zip
[vanilla-miry.git] / extensions / ksesXHTML / conf.php
blob5e09479fcc07ba255caca9fcbc72546831f940ce
1 <?php
3 // this is part of the kses extension for Vanilla
4 // http://lussumo.com/addons/?AddOnID=121
6 // -------------------------------------------------------------
7 // lang strings
9 $Context->Dictionary['kses'] = '(X)HTML';
10 $Context->Dictionary['kses_help'] = 'Help';
11 $Context->Dictionary['kses_help_window'] = '(X)HTML Help';
12 $Context->Dictionary['kses_help_text'] = '<p>Allowed tags and attributes:</p>';
14 // -------------------------------------------------------------
15 // tags and attributes allowed
17 // avoid attributes like style or tags like script
18 // that's just asking for trouble
20 $kses_allowed_tags = array(
22 'blockquote' => array(
23 'cite'
26 'cite' => array(),
28 'q' => array(
29 'cite'
32 'pre' => array(),
33 'code' => array(),
35 'address' => array(),
37 'abbr' => array(
38 'title'
41 'acronym' => array(
42 'title'
45 'ins' => array(
46 'cite',
47 'datetime'
50 'del' => array(
51 'cite',
52 'datetime'
55 'a' => array(
56 'href',
57 'rel',
58 'title'
61 'em' => array(),
62 'strong' => array(),
64 'p' => array(),
65 'br' => array(),
67 'ul' => array(),
69 'ol' => array(
70 'start'
73 'li' => array(),
75 'dl' => array(),
76 'dt' => array(),
77 'dd' => array()
80 // -------------------------------------------------------------
81 // url protocols allowed
83 $kses_allowed_protocols = array(
84 'http',
85 'https',
86 'ftp',
87 'news',
88 'feed',
89 'mailto'