MCPcopy Create free account
hub / github.com/SimplyDo/projector / htmlSanitizeWriter

Function htmlSanitizeWriter

lib/angular/angular-sanitize.js:355–397  ·  view source on GitHub ↗

* create an HTML/XML writer which writes to buffer * @param {Array} buf use buf.jain('') to get out sanitized html string * @returns {object} in the form of { * start: function(tag, attrs, unary) {}, * end: function(tag) {}, * chars: function(text) {}, * comment: function(text)

(buf)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

$sanitizeFunction · 0.85

Calls 1

encodeEntitiesFunction · 0.85

Tested by

no test coverage detected