express-ejs-layouts icon indicating copy to clipboard operation
express-ejs-layouts copied to clipboard

Add <noscript> support for 'extractStyles'

Open Stevetec-exe opened this issue 3 years ago • 0 comments

When using

app.set("layout extractStyles", true)

it would be very usefull if styles inside of <noscript> blocks would preserve this fact, otherwise using Fallback styles like this:

<noscript>
    <link rel="stylesheet" href="/assets/css/noscript.css" type="text/css" />
</noscript>

becomes impossible (without using hacks like removing the style with JS)

- Stevetec

Stevetec-exe avatar Jun 30 '21 16:06 Stevetec-exe