Skip to content

Fix: correct grammar in HTML Sanitizer API overview - #46407

Merged
hamishwillee merged 1 commit into
mdn:mainfrom
abdul-karim-mia:fix/html-sanitizer-grammar
Nov 9, 2026
Merged

hamishwillee merged 1 commit into
mdn:mainfrom
abdul-karim-mia:fix/html-sanitizer-grammar

Conversation

@abdul-karim-mia

Copy link
Copy Markdown
Contributor

Description

Fix two minor grammatical typos in files/en-us/web/api/html_sanitizer_api/index.md:

  1. "The sanitizer objects defines" -> "The sanitizer object defines" (subject-verb agreement).
  2. "inserted into as a subtree of the ShadowRoot" -> "inserted as a subtree of the ShadowRoot" (removed extraneous into, matching the ShadowRoot.setHTML() description above).

Motivation

Improves grammar and consistency in the HTML Sanitizer API overview page.

Related issues and pull requests

Relates to #46132

Fix 'sanitizer objects defines' -> 'sanitizer object defines' and remove extraneous 'into' in 'inserted into as a subtree' in ShadowRoot.setHTMLUnsafe() description.

Signed-off-by: Abdul karim mia <97598943+abdul-karim-mia@users.noreply.github.com>
@abdul-karim-mia
abdul-karim-mia requested a review from a team as a code owner November 9, 2026 00:56
@abdul-karim-mia
abdul-karim-mia requested review from wbamberg and removed request for a team November 9, 2026 00:56
@github-actions github-actions Bot added Content:WebAPI Web API docs size/xs [PR only] 0-5 LoC changed labels Nov 9, 2026
@github-actions

github-actions Bot commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

Preview URLs (1 page)

@hamishwillee hamishwillee left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks very much.

@hamishwillee
hamishwillee merged commit 933235f into mdn:main Nov 9, 2026
8 checks passed
@abdul-karim-mia
abdul-karim-mia deleted the fix/html-sanitizer-grammar branch November 10, 2026 07:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Content:WebAPI Web API docs size/xs [PR only] 0-5 LoC changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants