Skip to content

Commit

Permalink
Merge branch '0.6' of https://github.com/Automattic/amp-wp into add/o…
Browse files Browse the repository at this point in the history
…utput-buffer-sanitization
  • Loading branch information
westonruter committed Jan 23, 2018
2 parents 8257cb0 + a5629f9 commit ef69f2d
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions includes/sanitizers/class-amp-rule-spec.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,22 +87,18 @@ abstract class AMP_Rule_Spec {
*/
public static $additional_allowed_tags = array(

/**
* An experimental tag with no protoascii
*/
// An experimental tag with no protoascii.
'amp-share-tracking' => array(
'attr_spec_list' => array(),
'tag_spec' => array(),
),

/**
* Needed for some tags such as analytics
*/
// Needed for some tags such as analytics.
'script' => array(
'attr_spec_list' => array(
'type' => array(
'mandatory' => true,
'value_casei' => 'text/javascript',
'value_casei' => 'application/json',
),
),
'tag_spec' => array(),
Expand Down

0 comments on commit ef69f2d

Please sign in to comment.