Skip to content

Commit e26c1b8

Browse files
Apply suggestions from code review
Co-authored-by: wbamberg <will@bootbonnet.ca> Co-authored-by: Hamish Willee <hamishwillee@gmail.com>
1 parent 97ed860 commit e26c1b8

File tree

1 file changed

+2
-2
lines changed
  • files/en-us/web/api/html_sanitizer_api/default_sanitizer_configuration

1 file changed

+2
-2
lines changed

files/en-us/web/api/html_sanitizer_api/default_sanitizer_configuration/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
---
2-
title: Default `Sanitizer` configuration
2+
title: Default Sanitizer configuration
33
slug: Web/API/HTML_Sanitizer_API/Default_sanitizer_configuration
44
page-type: guide
55
---
66

77
{{DefaultAPISidebar("HTML Sanitizer API")}}
88

9-
The default `Sanitizer` configuration defines the {{domxref("Sanitizer")}} that is used by default if you call the [safe sanitization methods](/en-US/docs/Web/API/HTML_Sanitizer_API#sanitization_methods), such as {{domxref("Element.setHTML()")}}, {{domxref("ShadowRoot.setHTML()")}}, and {{domxref("Document.parseHTML_static","Document.parseHTML()")}}, without specifying a custom sanitizer.
9+
The default sanitizer configuration defines the {{domxref("Sanitizer")}} that is used by default if you call the [safe sanitization methods](/en-US/docs/Web/API/HTML_Sanitizer_API#sanitization_methods), such as {{domxref("Element.setHTML()")}}, {{domxref("ShadowRoot.setHTML()")}}, and {{domxref("Document.parseHTML_static","Document.parseHTML()")}}, without specifying a custom sanitizer.
1010
It is also the default configuration returned by the [`Sanitizer()` constructor](/en-US/docs/Web/API/Sanitizer/Sanitizer) if no `configuration` is passed as an argument.
1111

1212
This configuration removes the following sorts of items:

0 commit comments

Comments
 (0)