"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
var replaceUrls_1 = __importDefault(require("../network/replaceUrls"));
var replaceTextsInHTMLStr_1 = __importDefault(require("./replaceTextsInHTMLStr"));
/**
* Replace URLs in HTML string
*
* @param htmlStr
* @category dom
* @module replaceUrlsInHTMLStr
*/
var replaceUrlsInHTMLStr = function (htmlStr, replacer) { return (0, replaceTextsInHTMLStr_1.default)(htmlStr, function (eachHtmlStr) { return (0, replaceUrls_1.default)(eachHtmlStr, replacer); }); };
exports.default = replaceUrlsInHTMLStr;
Source