angular-cn/packages/core/src/sanitization
Ben Lesh cf86ed7b29 refactor(ivy): migrate ɵɵ prefix back to Δ (#30362)
Now that issues are resolved with Closure compiler, we can move back to our desired prefix of `Δ`.

PR Close #30362
2019-05-14 16:52:15 -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 feat(core): add missing ARIA attributes to html sanitizer (#29685) 2019-04-25 12:30:55 -07: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): migrate ɵɵ prefix back to Δ (#30362) 2019-05-14 16:52:15 -07:00
security.ts docs: update core to use `@publicApi` tags (#26595) 2018-10-19 14:35:53 -07:00
style_sanitizer.ts Revert "fix(core): CSS sanitizer now allows parens in file names (#30322)" (#30463) 2019-05-14 14:49:39 -07:00
url_sanitizer.ts refactor(core): update docs (#29600) 2019-04-02 10:28:23 -07:00

readme.md

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.