• Resolved aimarv

    (@aimarv)


    When CSSTidy tries to minify inline css, it adds comments similar to
    /* CSSTidy 1.5.5 date etc */

    which give AMP validation errors
    ( The mandatory text inside tag ‘head > style[amp-boilerplate]’ is missing or incorrect. )

    I’ve worked around this problem by disabling inline css minification

    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello,

    If you switch to Minify (default) instead of CSSTidy does the issue persist?
    Also, is HTML Minifier set to Minify(default) or HTML Tidy?

    Thread Starter aimarv

    (@aimarv)

    minify (default)
    JSMin (default)
    and CSS Tidy

    and to be able to validate, I ‘ve unchecked

    Inline CSS minification

    • This reply was modified 5 years, 7 months ago by aimarv.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘CSSTidy: amp validation error’ is closed to new replies.