-
Notifications
You must be signed in to change notification settings - Fork 0
/
mailit.features.filter.inc
56 lines (53 loc) · 1.41 KB
/
mailit.features.filter.inc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<?php
/**
* @file
* mailit.features.filter.inc
*/
/**
* Implements hook_filter_default_formats().
*/
function mailit_filter_default_formats() {
$formats = array();
// Exported format: mail.
$formats['mail'] = array(
'format' => 'mail',
'name' => 'mail',
'cache' => '1',
'status' => '1',
'weight' => '0',
'filters' => array(
'htmlpurifier_basic' => array(
'weight' => '-44',
'status' => '1',
'settings' => array(
'htmlpurifier_help' => 1,
'htmlpurifier_basic_config' => array(
'Attr.EnableID' => '0',
'AutoFormat.AutoParagraph' => '1',
'AutoFormat.Linkify' => '1',
'AutoFormat.RemoveEmpty' => '0',
'HTML.Allowed' => 'h1, h2, h3, h4, h5, a[href], em, strong, cite, blockquote, code, ul, ol, li, dl, dt, dd, p, br',
'HTML.ForbiddenAttributes' => 'style
class
',
'HTML.ForbiddenElements' => '',
'HTML.SafeObject' => '0',
'Output.FlashCompat' => '0',
'URI.DisableExternalResources' => '0',
'URI.DisableResources' => '0',
'Null_URI.Munge' => '1',
),
),
),
'pathologic' => array(
'weight' => '-43',
'status' => '1',
'settings' => array(
'local_paths' => '',
'protocol_style' => 'full',
),
),
),
);
return $formats;
}