Have you ever encountered an error about parsing XML while trying to edit XML Templates?
As given in the error description, there is an “=” character after the “async” attribute, but this error was still popping up in my case.
How to fix “attribute name ‘async’ must be followed by ‘=’ character” error in AdSense Code.
It’s easily fixable. It so happens because some special punctuation characters aren’t directly recognized in the XML. So, you will have to encode it in the way it understands.
All you have to do is to simply replace the <, > and ” symbols”.
Replace this | with this |
< | < |
> | > |
“ | " |
This post was proofread by Grammarly