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

Function stripHTMLLite

codebase/sources/dhtmlxscheduler.js:3758–3760  ·  view source on GitHub ↗
(htmlText)

Source from the content-addressed store, hash-verified

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

Callers 1

extend$hFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected