Support » Plugin: W3 Total Cache » CSSTidy: amp validation error

  • Resolved 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


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



    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


    minify (default)
    JSMin (default)
    and CSS Tidy

    and to be able to validate, I ‘ve unchecked

    Inline CSS minification

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