MCPcopy
hub / github.com/NUKnightLab/TimelineJS3 / unhtmlify

Function unhtmlify

src/js/core/Util.js:470–473  ·  view source on GitHub ↗
(str)

Source from the content-addressed store, hash-verified

468}
469
470export function unhtmlify(str) {
471 str = str.replace(/(<[^>]*>)+/g, '');
472 return str.replace('"', "'");
473}
474
475/* * Turns plain text links into real links
476================================================== */

Callers 4

successHandlerFunction · 0.90
createMediaMethod · 0.90
createMediaMethod · 0.90
createMediaMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected