ZenKhifer
1 min read

Parsing JavaScript Strings in AMP: Uncaught Error: Attempting to parse invalid HTML content

If you are using Javascript to pass an HTML string inside an amp-script tag (amp-script), chances are you have encountered this error:

51