New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

css-inline

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

css-inline - npm Package Compare versions

Comparing version 0.8.2 to 0.8.3

2

package.json

@@ -7,3 +7,3 @@ {

"description": "A WASM package for inlining CSS into HTML documents",
"version": "0.8.2",
"version": "0.8.3",
"license": "MIT",

@@ -10,0 +10,0 @@ "repository": {

@@ -46,1 +46,29 @@ # css-inline

```
If you'd like to skip CSS inlining for an HTML tag, add `data-css-inline="ignore"` attribute to it:
```html
<head>
<title>Test</title>
<style>h1 { color:blue; }</style>
</head>
<body>
<!-- The tag below won't receive additional styles -->
<h1 data-css-inline="ignore">Big Text</h1>
</body>
</html>
```
This attribute also allows you to skip `link` and `style` tags:
```html
<head>
<title>Test</title>
<!-- Styles below are ignored -->
<style data-css-inline="ignore">h1 { color:blue; }</style>
</head>
<body>
<h1>Big Text</h1>
</body>
</html>
```

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc