After upgrading to the latest image a week ago, a blog post written several years ago began to be flagged by Google Search Console.

I tried including including the amp-iframe script in the blog header, then the footer, then both header and footer to no avail.
Load the amp version of the blog post.
Related research
$ node -v #v0.12.0I own the blog linked to in related research. I run Ghost blog Pro and I just wanted to note that my issue started on the 29th of March. I spent a lot of time fiddling around with this, but I could not find any simple pattern on this. When I wrote that I moved it further down the page, I believe I also added more text before the iframe.
I was able to reproduce this issue locally. This was caused by the regex that detects iframe not taking potential line breaks into count. Fix incoming!