datocms-html-to-structured-text
Advanced tools
Comparing version 1.0.9 to 1.0.10
@@ -317,6 +317,3 @@ "use strict"; | ||
if (node.properties) { | ||
if (node.properties.target === '_blank') { | ||
meta_1.push({ id: 'openInNewWindow', value: true }); | ||
} | ||
['rel', 'title'].forEach(function (attr) { | ||
['target', 'rel', 'title'].forEach(function (attr) { | ||
if (node.properties[attr]) { | ||
@@ -323,0 +320,0 @@ meta_1.push({ id: attr, value: node.properties[attr] }); |
{ | ||
"name": "datocms-html-to-structured-text", | ||
"version": "1.0.9", | ||
"version": "1.0.10", | ||
"description": "Convert HTML (or a `hast` syntax tree) to a valid DatoCMS Structured Text `dast` document", | ||
@@ -34,3 +34,3 @@ "keywords": [ | ||
"dependencies": { | ||
"datocms-structured-text-utils": "^1.0.9", | ||
"datocms-structured-text-utils": "^1.0.10", | ||
"extend": "^3.0.2", | ||
@@ -49,3 +49,3 @@ "hast-util-from-dom": "^3.0.0", | ||
}, | ||
"gitHead": "7e008a80156771f0826fe7c0561cd6d29a6b2fdc" | ||
"gitHead": "bd09e68a28affbe3bf294c4f4a8a13791d948d4e" | ||
} |
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
91612
1189