textlint-plugin-html
Advanced tools
Comparing version
@@ -102,2 +102,6 @@ // LICENSE : MIT | ||
} | ||
// map `url` to Link node | ||
if (node.type === "Link" && typeof node.properties.href !== "undefined") { | ||
node.url = node.properties.href; | ||
} | ||
} | ||
@@ -104,0 +108,0 @@ removeUnusedProperties(node); |
@@ -14,3 +14,3 @@ { | ||
}, | ||
"version": "0.1.6", | ||
"version": "0.1.7", | ||
"description": "textlint HTML processsor plugin.", | ||
@@ -17,0 +17,0 @@ "main": "lib/index.js", |
@@ -81,2 +81,6 @@ // LICENSE : MIT | ||
} | ||
// map `url` to Link node | ||
if (node.type === "Link" && typeof node.properties.href !== "undefined") { | ||
node.url = node.properties.href; | ||
} | ||
} | ||
@@ -83,0 +87,0 @@ removeUnusedProperties(node); |
Sorry, the diff of this file is not supported yet
24135
3%348
2.35%