/domsanitizer-test

Demonstration of DomSanitizer in Angular

Primary LanguageTypeScript

DomsanitizerTest

Enter HTML in the field at the top and see how the DomSanitizer handles the output.

It works here https://michaelsanford.com/domsanitizer-test

Development server

git clone https://github.com/michaelsanford/domsanitizer-test.git && \
cd domsanitizer-test && \
npm ci && \
ng serve

Run ng serve for a dev server.

Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.