I'm using the Drupal AMP module,theme and library in Drupal 7
I'm using the AMP verification tool here validator.ampproject.org
<script async custom-element="amp-sidebar" src="https://cdn.ampproject.org/v0/amp-sidebar-0.1.js"></script>
I get the following warning
"The tag 'script' is disallowed except in specific forms."
The second error i get is the following. And as a result of that I get this error The tag 'amp-sidebar extension .js script' is missing or incorrect, but required by 'amp-sidebar'. Learn more.
I have included the full HTML file contents below if you want to run it through the validator to see the errors live, Just copy and paste the code. Pastebin of full Drupal AMP page