angular/packages/core/src/sanitization
Alex Rickabaugh b0578061ce refactor(ivy): use ɵɵ instead of Δ for now (#29850)
The `Δ` caused issue with other infrastructure, and we are temporarily
changing it to `ɵɵ`.

This commit also patches ts_api_guardian_test and AIO to understand `ɵɵ`.

PR Close #29850
2019-04-11 16:27:56 -07:00
..
bypass.ts fix(ivy): TestBed.get(Compiler) throws "Error: Runtime compiler is not loaded" (#27223) 2018-11-27 13:42:23 -08:00
html_sanitizer.ts fix(core): traverse and sanitize content of unsafe elements (#28804) 2019-02-26 13:32:09 -08:00
inert_body.ts refactor: remove redundant error in catch (#25478) 2019-01-04 15:42:19 -08:00
readme.md refactor(core): move sanitization into core (#22540) 2018-03-07 18:24:06 -08:00
sanitization.ts refactor(ivy): use ɵɵ instead of Δ for now (#29850) 2019-04-11 16:27:56 -07:00
security.ts docs: update core to use @publicApi tags (#26595) 2018-10-19 14:35:53 -07:00
style_sanitizer.ts build: extract interface and util sub compilation from core (#28028) 2019-01-10 16:31:44 -08:00
url_sanitizer.ts refactor(core): update docs (#29600) 2019-04-02 10:28:23 -07:00

Sanitization

This folder contains sanitization related code.

History

It used to be that sanitization related code used to be in @angular/platform-browser since it is platform related. While this is true, in practice the compiler schema is permanently tied to the DOM and hence the fact that sanitizer could in theory be replaced is not used in practice.

In order to better support tree shaking we need to be able to refer to the sanitization functions from the Ivy code. For this reason the code has been moved into the @angular/core.