rehype-footnotes-title
Advanced tools
Comparing version 0.0.29 to 0.0.30
@@ -1,2 +0,2 @@ | ||
'use strict'; | ||
"use strict"; | ||
@@ -16,3 +16,4 @@ var visit = require('unist-util-visit'); | ||
var placeholderIndex = title.indexOf('$id'); | ||
var thisTitle = void 0; | ||
var thisTitle; | ||
if (placeholderIndex !== -1) { | ||
@@ -23,2 +24,3 @@ thisTitle = title.split(''); | ||
} | ||
if (!thisTitle) thisTitle = identifier; | ||
@@ -28,2 +30,3 @@ node.properties.title = thisTitle; | ||
} | ||
return transformer; | ||
@@ -30,0 +33,0 @@ } |
{ | ||
"name": "rehype-footnotes-title", | ||
"version": "0.0.29", | ||
"version": "0.0.30", | ||
"repository": { | ||
@@ -37,3 +37,3 @@ "url": "https://github.com/zestedesavoir/zmarkdown/tree/master/packages/rehype-footnotes-title", | ||
}, | ||
"gitHead": "1dded309a2670689a4a3353f9e38b80624c6df1a" | ||
"gitHead": "7b61723ac4ca1900270d56c7787c08b6887fcb4c" | ||
} |
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
4263