Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

markdown-it-attrs

Package Overview
Dependencies
Maintainers
1
Versions
60
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

markdown-it-attrs - npm Package Compare versions

Comparing version 0.1.8 to 0.1.9

2

package.json
{
"name": "markdown-it-attrs",
"version": "0.1.8",
"version": "0.1.9",
"description": "Add classes, identifiers and attributes to your markdown with {} curly brackets, similar to pandoc's header attributes",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -58,2 +58,6 @@ /**

if ((char === pairSeparator && !valueInsideQuotes) || i === end) {
if (key === '') {
// beginning or ending space: { .red } vs {.red}
continue;
}
attrs.push([key, value]);

@@ -60,0 +64,0 @@ key = '';

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