Skip to content

Commit

Permalink
Merge branch 'add/806-add-script-for-testing-content' of https://gith…
Browse files Browse the repository at this point in the history
…ub.com/Automattic/amp-wp into add/806-add-script-for-testing-content
  • Loading branch information
Ryan Kienstra committed Dec 14, 2017
2 parents e885b7a + 5bce94f commit a485be1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions includes/sanitizers/class-amp-rule-spec.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,20 +92,20 @@ abstract class AMP_Rule_Spec {
*/
'amp-share-tracking' => array(
'attr_spec_list' => array(),
'tag_spec' => array(),
'tag_spec' => array(),
),

/**
* Needed for some tags such as analytics
*/
'script' => array(
'script' => array(
'attr_spec_list' => array(
'type' => array(
'mandatory' => true,
'mandatory' => true,
'value_casei' => 'text/javascript',
),
),
'tag_spec' => array(),
'tag_spec' => array(),
),
);
}

0 comments on commit a485be1

Please sign in to comment.