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

markdown-it

Package Overview
Dependencies
Maintainers
1
Versions
79
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

markdown-it - npm Package Compare versions

Comparing version 3.0.1 to 3.0.2

6

CHANGELOG.md

@@ -0,1 +1,7 @@

3.0.2 / 2015-01-09
------------------
- Allow dashes in HTML tag names (needed for custom HTML tags).
3.0.1 / 2015-01-07

@@ -2,0 +8,0 @@ ------------------

4

lib/common/html_re.js

@@ -39,7 +39,7 @@ // Regexps to match html elements

var open_tag = replace(/<[A-Za-z][A-Za-z0-9]*attribute*\s*\/?>/)
var open_tag = replace(/<[A-Za-z][A-Za-z0-9\-]*attribute*\s*\/?>/)
('attribute', attribute)
();
var close_tag = /<\/[A-Za-z][A-Za-z0-9]*\s*>/;
var close_tag = /<\/[A-Za-z][A-Za-z0-9\-]*\s*>/;
// That's less strict than http://www.w3.org/TR/html5/syntax.html#comments

@@ -46,0 +46,0 @@ // but we do the rest of check in "inline" rule.

{
"name": "markdown-it",
"version": "3.0.1",
"version": "3.0.2",
"description": "Markdown-it - modern pluggable markdown parser.",

@@ -5,0 +5,0 @@ "keywords": [

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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