markdown-to-jsx
Advanced tools
Comparing version 6.5.0 to 6.5.1
@@ -668,4 +668,4 @@ 'use strict'; | ||
if (delimiterIdx !== -1) { | ||
var key = normalizeAttributeKey(raw.slice(0, delimiterIdx)); | ||
var value = (0, _unquote2.default)(raw.slice(delimiterIdx + 1)); | ||
var key = normalizeAttributeKey(raw.slice(0, delimiterIdx)).trim(); | ||
var value = (0, _unquote2.default)(raw.slice(delimiterIdx + 1).trim()); | ||
@@ -672,0 +672,0 @@ var mappedKey = ATTRIBUTE_TO_JSX_PROP_MAP[key] || key; |
@@ -654,4 +654,4 @@ 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; }; | ||
if (delimiterIdx !== -1) { | ||
var key = normalizeAttributeKey(raw.slice(0, delimiterIdx)); | ||
var value = unquote(raw.slice(delimiterIdx + 1)); | ||
var key = normalizeAttributeKey(raw.slice(0, delimiterIdx)).trim(); | ||
var value = unquote(raw.slice(delimiterIdx + 1).trim()); | ||
@@ -658,0 +658,0 @@ var mappedKey = ATTRIBUTE_TO_JSX_PROP_MAP[key] || key; |
@@ -679,4 +679,4 @@ /* @jsx h */ | ||
if (delimiterIdx !== -1) { | ||
const key = normalizeAttributeKey(raw.slice(0, delimiterIdx)); | ||
const value = unquote(raw.slice(delimiterIdx + 1)); | ||
const key = normalizeAttributeKey(raw.slice(0, delimiterIdx)).trim(); | ||
const value = unquote(raw.slice(delimiterIdx + 1).trim()); | ||
@@ -683,0 +683,0 @@ const mappedKey = ATTRIBUTE_TO_JSX_PROP_MAP[key] || key; |
@@ -6,3 +6,3 @@ { | ||
"license": "MIT", | ||
"version": "6.5.0", | ||
"version": "6.5.1", | ||
"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
231390