From f86edae9f3c573db3413ab76f842f6209ba9e675 Mon Sep 17 00:00:00 2001 From: Martin Probst Date: Sat, 30 Apr 2016 19:02:05 -0700 Subject: [PATCH] feat(security): add an HTML sanitizer. This is based on Angular 1's implementation, parsing an HTML document into an inert DOM Document implementation, and then serializing only specifically whitelisted elements. It currently does not support SVG sanitization, all SVG elements are rejected. If available, the sanitizer uses the `