Skip to content

Fix unbalanced and stray quotation marks - #46047

Merged
estelle merged 2 commits into
mdn:mainfrom
kumability:fix-unbalanced-quotes
Oct 8, 2026
Merged

estelle merged 2 commits into
mdn:mainfrom
kumability:fix-unbalanced-quotes

Conversation

@kumability

@kumability kumability commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

Description

Fixes 13 unbalanced, stray, or misplaced straight quotation marks (") across 12 pages.

  • Unclosed quotes:

    • CustomStateSet: "enabled" and "disabled, "checked" → "enabled" and "disabled", "checked"
    • Gamepad.mapping: "xr-standard for the → "xr-standard" for the (the item above is written "standard" for the)
    • Assertions: matches "141" but not "3. → matches "141" but not "3".
    • Introducing automated testing: the quote opened at "run these tasks is now closed after "saved"
    • CycleTracker: Manifest and iconography (alt text): the checkbox label in quotes is now closed
    • Auto-placement in grid layout: said "auto-place items against the next line named "n", and had a quote inside a quote that was never closed. I closed the outer quote and wrote the line name as n (inline code), as line names are elsewhere in the grid guides.
    • browserSettings onChange: <code>controlled_by_this_extension"</code> → <code>"controlled_by_this_extension"</code>, matching the other rows of the table
  • Stray quotes:

  • Misplaced quote:

    • Color contrast and luminance: in the Carmine example, the closing " at the end of the paragraph ends a quotation of the Wikipedia article, but the opening " had been put around "Carmine" instead. The original HTML (cbe151a) quoted "Carmine" <strong>is close to the extreme spectrum. … poor approximation only."</strong>, and the Wikipedia "Shades of red" article still has "This places it far beyond standard gamuts (both RGB and CMYK), and its given RGB value is a poor approximation only." So I moved the opening quote: that Carmine "is close to the extreme spectrum. … poor approximation only."

Motivation

Unbalanced quotes make it unclear where quoted text ends.

Additional details

I read each paragraph to make sure the quote doesn't close on another line. I checked that no other open PR touches these files.

Related issues and pull requests

Same kind of fixes as #46046.

@kumability
kumability requested review from a team as code owners October 8, 2026 11:23
@kumability
kumability requested review from Josh-Cena, dipikabh, estelle, rebloor and wbamberg and removed request for a team October 8, 2026 11:23
@github-actions github-actions Bot added Content:CSS Cascading Style Sheets docs Content:WebExt WebExtensions docs Content:WebAPI Web API docs Content:JS JavaScript docs Content:Learn Learning area docs (outside of one of the Learn:* subtags) Content:HTTP HTTP docs Content:Accessibility Accessibility docs Content:PWA Progressive Web Apps content size/s [PR only] 6-50 LoC changed labels Oct 8, 2026
@github-actions

github-actions Bot commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

@estelle estelle left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks! 🎉

@estelle
estelle merged commit f4174ab into mdn:main Oct 8, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Content:Accessibility Accessibility docs Content:CSS Cascading Style Sheets docs Content:HTTP HTTP docs Content:JS JavaScript docs Content:Learn Learning area docs (outside of one of the Learn:* subtags) Content:PWA Progressive Web Apps content Content:WebAPI Web API docs Content:WebExt WebExtensions docs size/s [PR only] 6-50 LoC changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants