@xiee/utils
Advanced tools
Comparing version 1.1.9 to 1.1.10
@@ -12,4 +12,4 @@ // convert <!--# comments --> to <span class="hash-notes">comments</span> | ||
s.innerHTML = s.innerHTML | ||
.replace(/\[([^\]]+)\]\(([^)]+)\)/g, '<a href="$2" target="_blank">$1</a>') | ||
.replace(/(^|[^"])(https?:\/\/)([-a-zA-Z0-9%._=/\+]+)(#)?([-a-zA-Z0-9%._=\+]+)?/g, '$1<a href="$2$3$4$5" target="_blank">$3$4</a>'); | ||
.replace(/\[([^\]]+)\]\(([^)]+)\)/g, '<a href="$2">$1</a>') | ||
.replace(/(^|[^"])(https?:\/\/)([-a-zA-Z0-9%._=/\+]+)(#)?([-a-zA-Z0-9%._=\+]+)?/g, '$1<a href="$2$3$4$5">$3$4</a>'); | ||
el.before(s); | ||
@@ -16,0 +16,0 @@ el.remove(); |
{ | ||
"name": "@xiee/utils", | ||
"version": "1.1.9", | ||
"version": "1.1.10", | ||
"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
19486