MCPcopy Index your code
hub / github.com/textAngular/textAngular / addText

Function addText

src/textAngular-sanitize.js:798–803  ·  view source on GitHub ↗
(text)

Source from the content-addressed store, hash-verified

796 return $sanitize(html.join(''));
797
798 function addText(text) {
799 if (!text) {
800 return;
801 }
802 html.push(sanitizeText(text));
803 }
804
805 function addLink(url, text) {
806 html.push('<a ');

Callers 2

addLinkFunction · 0.85

Calls 1

sanitizeTextFunction · 0.85

Tested by

no test coverage detected