This tool is producing a false positive. I see the following errors after validating my document: 1. The mandatory attribute 'amp-custom' is missing in tag 'style amp-custom'. 2. Custom JavaScript is not allowed. 3. The tag 'style amp-custom' appears more than once in the document. #1 and #2 are both legitimate in my current situation. A Google Optimize script (which also adds internal styles) was inadvertently added to an AMP page. However, 'style amp-custom' does not appear more than onc... Show more
AMP Validator plugin for automatically checking each page for AMP validation, reporting errors and warnings, and loading the AMP version of non-AMP pages