Source

dom/getInnerTextFromHTMLStr.js

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
/**
 * Convert HTMLString to its inner text
 * @param htmlString
 * @category dom
 * @module getInnerTextFromHTMLStr
 */
function getInnerTextFromHTMLStr(htmlString) {
    var tempContainerDom = document.createElement('div');
    tempContainerDom.innerHTML = htmlString;
    return tempContainerDom.innerText;
}
exports.default = getInnerTextFromHTMLStr;