AMP_Base_Sanitizer::has_light_shadow_dom December 15, 2021 Determine whether the resulting AMP element uses a "light" shadow DOM.…
AMP_Base_Sanitizer::get_validate_response_data September 21, 2020 Get data that is returned in validate responses.
AMP_Base_Sanitizer::filter_attachment_layout_attributes September 21, 2020 Set attributes to node's parent element according to layout.…
AMP_Base_Sanitizer::parse_style_string September 21, 2020 Parse a style string into an associative array of style attributes.
AMP_Base_Sanitizer::reassemble_style_string September 21, 2020 Reassemble a style string that can be used in a 'style' attribute.…
AMP_Base_Sanitizer::get_data_amp_attributes September 21, 2020 Get data-amp-* values from the parent node 'figure' added by editor block.…
AMP_Base_Sanitizer::clean_up_after_attribute_removal September 21, 2020 Cleans up artifacts after the removal of an attribute node.
AMP_Base_Sanitizer::should_sanitize_validation_error September 21, 2020 Check whether or not sanitization should occur in response to validation error.
AMP_Base_Sanitizer::remove_invalid_attribute September 21, 2020 Removes an invalid attribute of a node.
AMP_Base_Sanitizer::is_exempt_from_validation September 21, 2020 Check whether a certain node should be exempt from validation.
AMP_Base_Sanitizer::has_dev_mode_exemption September 21, 2020 Check whether a node is exempt from validation during dev mode.
AMP_Base_Sanitizer::is_document_in_dev_mode September 21, 2020 Check whether the document of a given node is in dev mode.
AMP_Base_Sanitizer::add_or_append_attribute September 21, 2020 Adds or appends key and value to list of attributes
AMP_Base_Sanitizer::maybe_enforce_https_src September 21, 2020 Decide if we should remove a src attribute if https is required.
AMP_Base_Sanitizer::is_empty_attribute_value September 21, 2020 Determine if an attribute value is empty.
AMP_Base_Sanitizer::set_layout September 21, 2020 Sets the layout, and possibly the 'height' and 'width' attributes.…
AMP_Base_Sanitizer::get_body_node September 21, 2020 Get HTML body as DOMElement from Dom\Document received by the constructor.
AMP_Base_Sanitizer::sanitize_dimension September 21, 2020 Sanitizes a CSS dimension specifier while being sensitive to dimension context.
AMP_Base_Sanitizer::sanitize September 21, 2020 Sanitize the HTML contained in the DOMDocument received by the constructor
AMP_Base_Sanitizer::get_scripts September 21, 2020 Return array of values that would be valid as an HTML script element.
AMP_Base_Sanitizer::add_buffering_hooks September 21, 2020 Add filters to manipulate output during output buffering before the DOM is…
AMP_Base_Sanitizer::get_selector_conversion_mapping September 21, 2020 Get mapping of HTML selectors to the AMP component selectors which they may be…