AMP errors
-
hello, I am using twenty nineteen and twenty twenty;
I am getting the following errors with AMP pluging:
Error code
DISALLOWED_TAG
Invalid markup
<script … >
Element attributes
type text/javascript
Element name
script
Parent element
body
Text content(function() {
document.getElementsByClassName(‘site-info’)[0].innerHTML = document.getElementsByClassName(‘site-info’)[0].innerHTML.split(‘,\n\t\t\t\t\t\t’).join(”);
})();kindly advise
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘AMP errors’ is closed to new replies.