@dreamworld/web-util
Advanced tools
Comparing version 1.1.0-html2text.2 to 1.1.0
@@ -7,7 +7,3 @@ | ||
export const htmlToText = (html = "", trim = false) => { | ||
let d = document.getElementById('dwHtml2TextConverter') | ||
if (!d) { | ||
d = document.createElement('div'); | ||
d.id = 'dwHtml2TextConverter'; | ||
} | ||
let d = document.createElement('div'); | ||
d.innerHTML = html; | ||
@@ -14,0 +10,0 @@ if (trim) { |
{ | ||
"name": "@dreamworld/web-util", | ||
"version": "1.1.0-html2text.2", | ||
"version": "1.1.0", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
1
4806
68