| 1 | <?php |
||
| 12 | class Jetpack_AMP_Feature_Assets_Sanitizer extends AMP_Base_Sanitizer { |
||
| 13 | /** |
||
| 14 | * List of xpaths selecting assets to be ignored |
||
| 15 | * |
||
| 16 | * @var asset_xpaths. |
||
| 17 | */ |
||
| 18 | private static $asset_xpaths = array( |
||
| 19 | '//script[contains(@src,\'www.opentable.com/widget\')]', |
||
| 20 | ); |
||
| 21 | |||
| 22 | /** |
||
| 23 | * Sanitize document for dev mode. |
||
| 24 | * |
||
| 25 | * @since 1.3 |
||
| 26 | */ |
||
| 27 | public function sanitize() { |
||
| 39 | } |
||
| 40 |