MCPcopy Create free account
hub / github.com/breck7/scroll / stripHtml

Method stripHtml

external/.scrollLibs.js:14401–14403  ·  view source on GitHub ↗
(text)

Source from the content-addressed store, hash-verified

14399 })
14400 }
14401 static stripHtml(text) {
14402 return text && text.replace ? text.replace(/<(?:.|\n)*?>/gm, "") : text
14403 }
14404 static getUniqueAtomsArray(allAtoms) {
14405 const atoms = allAtoms.replace(/\n/g, " ").split(" ")
14406 const index = {}

Callers 2

_getLineHtmlMethod · 0.80
.datatables.jsFile · 0.80

Calls 1

replaceMethod · 0.80

Tested by

no test coverage detected