@dreamworld/web-util
Advanced tools
Comparing version 1.3.0-html-trim.3 to 1.3.0-html-trim.4
@@ -13,4 +13,2 @@ | ||
return d.textContent; | ||
} | ||
export default htmlToText; | ||
} |
import textToHtml from './textToHtml'; | ||
import htmlToText from './htmlToText'; | ||
@@ -46,5 +45,5 @@ /** | ||
html = removeEmptyNodes(html, deep); | ||
return htmlToText(html, true); | ||
return html.innerHTML; | ||
} | ||
export default htmlTrim; |
{ | ||
"name": "@dreamworld/web-util", | ||
"version": "1.3.0-html-trim.3", | ||
"version": "1.3.0-html-trim.4", | ||
"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
6422
125