• I have a validation error:

    The tag ‘img’ may only appear as a descendant of tag ‘noscript’. Did you mean ‘amp-img’?

    is all over the place. I tried to edit the sanitizer and figured out that for some reason the content has <img instead of <img when dumping it. So that could be the reason why it’s not sanitized to amp-img.

    This is the example page with several images: https://srbodroid.com/vesti/vest/easeus-bozicna-kampanja-2016/amp/#development=1

    I’m not sure how to edit sanitizer. I tried doing it with regex str_replace but without success. Would love to use it. My other website does not have this issue. I’m not sure what is the difference in content.

Viewing 1 replies (of 1 total)
  • Plugin Contributor ampforwp

    (@ampforwp)

    Hi @eboye,

    We are so sorry for the delayed response.

    I checked your site and it seems that it’s working perfectly fine with AMP.

    Can you share your feedback with us?

    Regards
    Marqas

Viewing 1 replies (of 1 total)
  • The topic ‘img tag not converted to amp-img’ is closed to new replies.