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

Function sanitizeText

src/textAngular-sanitize.js:155–160  ·  view source on GitHub ↗
(chars)

Source from the content-addressed store, hash-verified

153}
154
155function sanitizeText(chars) {
156 var buf = [];
157 var writer = htmlSanitizeWriter(buf, angular.noop);
158 writer.chars(chars);
159 return buf.join('');
160}
161
162
163// Regular Expressions for parsing tags and attributes

Callers 1

addTextFunction · 0.85

Calls 1

htmlSanitizeWriterFunction · 0.85

Tested by

no test coverage detected