markdown-to-jsx
Advanced tools
Comparing version 6.7.1 to 6.7.2
@@ -161,3 +161,3 @@ 'use strict'; | ||
var HTML_SELF_CLOSING_ELEMENT_R = /^ *<([A-Za-z][\w:]*)\s*((?:<.*?>|[^>])*)>(?!<\/\1>)\s*/; | ||
var HTML_SELF_CLOSING_ELEMENT_R = /^ *<([A-Za-z][\w:]*)(?:\s+((?:<.*?>|[^>])*))?>(?!<\/\1>)\s*/; | ||
var INTERPOLATION_R = /^\{.*\}$/; | ||
@@ -1003,3 +1003,3 @@ var LINK_AUTOLINK_BARE_URL_R = /^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/; | ||
return { | ||
attrs: attrStringToMap(capture[2]), | ||
attrs: attrStringToMap(capture[2] || ''), | ||
tag: capture[1] | ||
@@ -1006,0 +1006,0 @@ }; |
@@ -147,3 +147,3 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; | ||
var HTML_SELF_CLOSING_ELEMENT_R = /^ *<([A-Za-z][\w:]*)\s*((?:<.*?>|[^>])*)>(?!<\/\1>)\s*/; | ||
var HTML_SELF_CLOSING_ELEMENT_R = /^ *<([A-Za-z][\w:]*)(?:\s+((?:<.*?>|[^>])*))?>(?!<\/\1>)\s*/; | ||
var INTERPOLATION_R = /^\{.*\}$/; | ||
@@ -989,3 +989,3 @@ var LINK_AUTOLINK_BARE_URL_R = /^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/; | ||
return { | ||
attrs: attrStringToMap(capture[2]), | ||
attrs: attrStringToMap(capture[2] || ''), | ||
tag: capture[1] | ||
@@ -992,0 +992,0 @@ }; |
@@ -143,3 +143,3 @@ /* @jsx h */ | ||
const HTML_SELF_CLOSING_ELEMENT_R = /^ *<([A-Za-z][\w:]*)\s*((?:<.*?>|[^>])*)>(?!<\/\1>)\s*/; | ||
const HTML_SELF_CLOSING_ELEMENT_R = /^ *<([A-Za-z][\w:]*)(?:\s+((?:<.*?>|[^>])*))?>(?!<\/\1>)\s*/; | ||
const INTERPOLATION_R = /^\{.*\}$/; | ||
@@ -1092,3 +1092,3 @@ const LINK_AUTOLINK_BARE_URL_R = /^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/; | ||
return { | ||
attrs: attrStringToMap(capture[2]), | ||
attrs: attrStringToMap(capture[2] || ''), | ||
tag: capture[1], | ||
@@ -1095,0 +1095,0 @@ }; |
@@ -6,3 +6,3 @@ { | ||
"license": "MIT", | ||
"version": "6.7.1", | ||
"version": "6.7.2", | ||
"engines": { | ||
@@ -9,0 +9,0 @@ "node": ">= 4" |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
257915