angular-cn/packages/core/src/sanitization
Momin Khan 78e7fdd98d fix(core): allow Z variations of CSS transforms in sanitizer (#29264)
PR Close #29264
2019-07-18 14:10:38 -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): enable sanitization support for the new styling algorithm (#30667) 2019-05-30 01:03:39 -04:00
security.ts docs: update core to use `@publicApi` tags (#26595) 2018-10-19 14:35:53 -07:00
style_sanitizer.ts fix(core): allow Z variations of CSS transforms in sanitizer (#29264) 2019-07-18 14:10:38 -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.