@xiee/utils
Advanced tools
Comparing version 1.2.13 to 1.2.14
@@ -1,3 +0,3 @@ | ||
document.querySelectorAll('h1,h2,h3').forEach(h => { | ||
document.querySelectorAll('h1,h2,h3,h4,h5,h6').forEach(h => { | ||
if (h.id) h.innerHTML += ` <span class="anchor"><a href="#${h.id}">#</a></span>`; | ||
}); |
@@ -1,1 +0,1 @@ | ||
document.querySelectorAll("h1,h2,h3").forEach((a=>{a.id&&(a.innerHTML+=` <span class="anchor"><a href="#${a.id}">#</a></span>`)})); | ||
document.querySelectorAll("h1,h2,h3,h4,h5,h6").forEach((h=>{h.id&&(h.innerHTML+=` <span class="anchor"><a href="#${h.id}">#</a></span>`)})); |
{ | ||
"name": "@xiee/utils", | ||
"version": "1.2.13", | ||
"version": "1.2.14", | ||
"description": "Miscellaneous tools and utilities to manipulate HTML pages", | ||
@@ -5,0 +5,0 @@ "scripts": { |
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
35169