Skip to content

Commit

Permalink
Minor fixes to the config
Browse files Browse the repository at this point in the history
  • Loading branch information
LukeTowers committed Jan 12, 2017
1 parent 6e7b0dc commit 7dea7ae
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ return [
'AutoFormat.RemoveEmpty' => true,
],
'test' => [
'Attr.EnableID' => true
'Attr.EnableID' => 'true',
],
"youtube" => [
"HTML.SafeIframe" => 'true',
Expand Down Expand Up @@ -110,11 +110,11 @@ return [
'poster' => 'URI',
'preload' => 'Enum#auto,metadata,none',
'controls' => 'Bool',
],
]],
['source', 'Block', 'Flow', 'Common', [
'src' => 'URI',
'type' => 'Text',
],
]],

// http://developers.whatwg.org/text-level-semantics.html
['s', 'Inline', 'Inline', 'Common'],
Expand All @@ -125,8 +125,8 @@ return [
['wbr', 'Inline', 'Empty', 'Core'],

// http://developers.whatwg.org/edits.html
['ins', 'Block', 'Flow', 'Common', array('cite' => 'URI', 'datetime' => 'CDATA')],
['del', 'Block', 'Flow', 'Common', array('cite' => 'URI', 'datetime' => 'CDATA')],
['ins', 'Block', 'Flow', 'Common', ['cite' => 'URI', 'datetime' => 'CDATA']],
['del', 'Block', 'Flow', 'Common', ['cite' => 'URI', 'datetime' => 'CDATA']],
],
'attributes' => [
['iframe', 'allowfullscreen', 'Bool'],
Expand Down
10 changes: 5 additions & 5 deletions config/purifier.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
'AutoFormat.RemoveEmpty' => true,
],
'test' => [
'Attr.EnableID' => true
'Attr.EnableID' => 'true',
],
"youtube" => [
"HTML.SafeIframe" => 'true',
Expand Down Expand Up @@ -66,11 +66,11 @@
'poster' => 'URI',
'preload' => 'Enum#auto,metadata,none',
'controls' => 'Bool',
],
]],
['source', 'Block', 'Flow', 'Common', [
'src' => 'URI',
'type' => 'Text',
],
]],

// http://developers.whatwg.org/text-level-semantics.html
['s', 'Inline', 'Inline', 'Common'],
Expand All @@ -81,8 +81,8 @@
['wbr', 'Inline', 'Empty', 'Core'],

// http://developers.whatwg.org/edits.html
['ins', 'Block', 'Flow', 'Common', array('cite' => 'URI', 'datetime' => 'CDATA')],
['del', 'Block', 'Flow', 'Common', array('cite' => 'URI', 'datetime' => 'CDATA')],
['ins', 'Block', 'Flow', 'Common', ['cite' => 'URI', 'datetime' => 'CDATA']],
['del', 'Block', 'Flow', 'Common', ['cite' => 'URI', 'datetime' => 'CDATA']],
],
'attributes' => [
['iframe', 'allowfullscreen', 'Bool'],
Expand Down

0 comments on commit 7dea7ae

Please sign in to comment.