• Resolved Mulia

    (@mul14)


    I have simple TailwindCSS like this:

    <link href="https://unpkg.com/tailwindcss@^2/dist/tailwind.min.css" rel=stylesheet">

    But, when enable “Optimize HTML Code”, it generate this:

    <link href="https://unpkg.com/tailwindcss@^2/dist/tailwind.min.cssrel=stylesheet">

    Notice the attribute was merged. No space between ...css and rel.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    Just to make sure; is the original line correct, because that is already missing a " in rel=stylesheet">?

    Thread Starter Mulia

    (@mul14)

    Sorry, I made a mistake on first post. The original use double-quote.

    <link
    href="https://unpkg.com/tailwindcss@^2/dist/tailwind.min.css"
    rel="stylesheet"
    />
    Plugin Author Optimizing Matters

    (@optimizingmatters)

    OK, tested but can’t reproduce. Are you by any chance also using W3 Total Cache?

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    any news mul14 ?

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    No feedback so I assume this got resolved mul14 ? Feel free to follow up if you still encounter issues!

    have a nice day!
    frank

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘HTML optimized generate wrong code’ is closed to new replies.