]> git.wh0rd.org - tt-rss.git/blame - tw/filter-setup/paranoya.php
tagwall: enable a target attribute
[tt-rss.git] / tw / filter-setup / paranoya.php
CommitLineData
910cca8b 1<?php\r
9daf4133
AD
2 // WARNING:\r
3 //\r
4 // All tags used in configuration must be defined in tw/tw-tags.php file too.\r
5 //\r
6\r
7 $tw_paranoya_setup = array(\r
8 \r
9 "a" => array(\r
10 "href" => array( TW_RQ_URL ), // value is required url \r
11 "name" => array( TW_RQ_LINK ), // value is link (link+href combination must be fixed in base)\r
12 "title" => null,\r
5a4701e6 13 "target" => null,\r
9daf4133
AD
14 ),\r
15 \r
16 "hr" => null, // without attributes\r
17 "br" => null,\r
18 "img" => array(\r
2d3f116c
AD
19 "width" => array( TW_NUM ), // 80 - default, number must be in range <60,120>\r
20 "height"=> array( TW_NUM ),\r
9daf4133
AD
21 "src" => array( TW_RQ_URL ),\r
22 "title" => null,\r
23 "border"=> array( TW_RQ_NUM, 0, 0, 0),\r
24 ),\r
25\r
26 "p" => array(\r
27 // null - default value (null = remove attr if value not found in case array)\r
28 "class" => array( TW_CASE, null, array("par1","par2","par3") ),\r
29 ),\r
30 \r
31 "b" => "strong", // tag substitution <b> -> <strong>\r
32 "strong" => null, // new tag must be configured too\r
33 "i" => null,\r
34 "u" => null,\r
35 "div" => array(\r
36 "title" => null,\r
37 ),\r
38 \r
39 "span" => array(\r
40 "class" => array( TW_CASE, null, array("my-class1","my-class2","my-class3") ),\r
41 ),\r
42 \r
43 "blockquote" => null,\r
44 "h1" => null,\r
45 "h2" => null,\r
46 "h3" => null,\r
47 \r
48 "table" => null,\r
49 "td" => null,\r
50 "tr" => null,\r
51 "th" => null,\r
52 \r
53 "ul" => null,\r
54 "ol" => null,\r
55 "li" => null,\r
56 "dl" => null,\r
57 "dt" => null,\r
58 "dd" => null,\r
59 );\r
2d3f116c 60?>\r