Passed
Push — master ( 4e14c1...48e7bd )
by Zhou
19:21 queued 13s
created
src/Purifier.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -143,11 +143,11 @@
 block discarded – undo
143 143
                 }
144 144
 
145 145
                 continue;
146
-	    }
146
+        }
147 147
 
148
-	    if (class_exists($validValues)) {
149
-		$validValues = new $validValues();
150
-	    }
148
+        if (class_exists($validValues)) {
149
+        $validValues = new $validValues();
150
+        }
151 151
 
152 152
             $definition->addAttribute($onElement, $attrName, $validValues);
153 153
         }
Please login to merge, or discard this patch.
config/purifier.php 1 patch
Indentation   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -50,30 +50,30 @@  discard block
 block discarded – undo
50 50
                 ['header',  'Block', 'Flow', 'Common'],
51 51
                 ['footer',  'Block', 'Flow', 'Common'],
52 52
 				
53
-				// Content model actually excludes several tags, not modelled here
53
+                // Content model actually excludes several tags, not modelled here
54 54
                 ['address', 'Block', 'Flow', 'Common'],
55 55
                 ['hgroup', 'Block', 'Required: h1 | h2 | h3 | h4 | h5 | h6', 'Common'],
56 56
 				
57
-				// http://developers.whatwg.org/grouping-content.html
57
+                // http://developers.whatwg.org/grouping-content.html
58 58
                 ['figure', 'Block', 'Optional: (figcaption, Flow) | (Flow, figcaption) | Flow', 'Common'],
59 59
                 ['figcaption', 'Inline', 'Flow', 'Common'],
60 60
 				
61
-				// http://developers.whatwg.org/the-video-element.html#the-video-element
61
+                // http://developers.whatwg.org/the-video-element.html#the-video-element
62 62
                 ['video', 'Block', 'Optional: (source, Flow) | (Flow, source) | Flow', 'Common', [
63 63
                     'src' => 'URI',
64
-					'type' => 'Text',
65
-					'width' => 'Length',
66
-					'height' => 'Length',
67
-					'poster' => 'URI',
68
-					'preload' => 'Enum#auto,metadata,none',
69
-					'controls' => 'Bool',
64
+                    'type' => 'Text',
65
+                    'width' => 'Length',
66
+                    'height' => 'Length',
67
+                    'poster' => 'URI',
68
+                    'preload' => 'Enum#auto,metadata,none',
69
+                    'controls' => 'Bool',
70 70
                 ]],
71 71
                 ['source', 'Block', 'Flow', 'Common', [
72
-					'src' => 'URI',
73
-					'type' => 'Text',
72
+                    'src' => 'URI',
73
+                    'type' => 'Text',
74 74
                 ]],
75 75
 
76
-				// http://developers.whatwg.org/text-level-semantics.html
76
+                // http://developers.whatwg.org/text-level-semantics.html
77 77
                 ['s',    'Inline', 'Inline', 'Common'],
78 78
                 ['var',  'Inline', 'Inline', 'Common'],
79 79
                 ['sub',  'Inline', 'Inline', 'Common'],
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
                 ['mark', 'Inline', 'Inline', 'Common'],
82 82
                 ['wbr',  'Inline', 'Empty', 'Core'],
83 83
 				
84
-				// http://developers.whatwg.org/edits.html
84
+                // http://developers.whatwg.org/edits.html
85 85
                 ['ins', 'Block', 'Flow', 'Common', ['cite' => 'URI', 'datetime' => 'CDATA']],
86 86
                 ['del', 'Block', 'Flow', 'Common', ['cite' => 'URI', 'datetime' => 'CDATA']],
87 87
             ],
Please login to merge, or discard this patch.