Use default configuration when resetting; prevents zombie defaults for encodings...
[htmlpurifier.git] / plugins / phorum / config.default.php
blob1b9e93818a6c6e0b601f541aeded18d6d28dcf5d
1 <?php
3 if(!defined("PHORUM")) exit;
5 // default HTML Purifier configuration settings
6 $config->set('HTML', 'Allowed',
7 // alphabetically sorted
8 'a[href|title]
9 abbr[title]
10 acronym[title]
12 blockquote[cite]
14 caption
15 cite
16 code
18 del
19 dfn
20 div
25 img[src|alt|title|class]
26 ins
27 kbd
31 pre
33 strike
34 strong
35 sub
36 sup
37 table
38 tbody
40 tfoot
42 thead
47 var');
48 $config->set('AutoFormat', 'AutoParagraph', true);
49 $config->set('AutoFormat', 'Linkify', true);
50 $config->set('HTML', 'Doctype', 'XHTML 1.0 Transitional');
51 $config->set('Core', 'AggressivelyFixLt', true);
52 $config->set('Core', 'Encoding', $GLOBALS['PHORUM']['DATA']['CHARSET']); // we'll change this eventually
53 if (strtolower($GLOBALS['PHORUM']['DATA']['CHARSET']) !== 'utf-8') {
54 $config->set('Core', 'EscapeNonASCIICharacters', true);
57 // vim: et sw=4 sts=4