MCPcopy Create free account
hub / github.com/DHTMLX/scheduler / stripHTMLLite

Function stripHTMLLite

codebase/sources/dhtmlxscheduler.es.js:3754–3756  ·  view source on GitHub ↗
(htmlText)

Source from the content-addressed store, hash-verified

3752 var htmlTags = new RegExp("<(?:.|\n)*?>", "gm");
3753 var extraSpaces = new RegExp(" +", "gm");
3754 function stripHTMLLite(htmlText) {
3755 return (htmlText + "").replace(htmlTags, " ").replace(extraSpaces, " ");
3756 }
3757 var singleQuotes = new RegExp("'", "gm");
3758 function escapeQuotes(text) {
3759 return (text + "").replace(singleQuotes, "&#39;");

Callers 1

extend$hFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected