Skip to content

Fix markup typos and words repeated after link text - #46046

Merged
chrisdavidmills merged 2 commits into
mdn:mainfrom
kumability:fix-markup-and-doubled-words
Oct 8, 2026
Merged

chrisdavidmills merged 2 commits into
mdn:mainfrom
kumability:fix-markup-and-doubled-words

Conversation

@kumability

Copy link
Copy Markdown
Contributor

Description

Fixes 8 small markup and wording typos. Commits are split by kind:

  1. Markup (2):
    • Express tutorial, Part 4: Routes and controllers: /`catalog/books/` → `/catalog/books/` (and the same for genres). The leading / was outside the code span; the bullets below already put it inside.
    • API property subpage template: the example \{{domxref("SomeDataType" }} was missing its ). Writers copy this template, and the example a few lines above (and in the sibling templates) is written correctly.
  2. A word repeated right after link text (6), e.g. "If the dark_theme key key is provided" → "If the dark_theme key is provided":

Motivation

These make the text harder to read, and the template example would be copied as invalid macro syntax.

Additional details

I also found {optional_inline}} (missing a {) in permissions.Permissions, but left it out because #44670 already fixes it.

#45829 (theme key) and #45596 (Express tutorial) also touch some of these files, but not these lines. I checked locally that this PR merges cleanly with both, and that no other open PR touches these files.

Related issues and pull requests

Relates to #44670.

@kumability
kumability requested review from a team as code owners October 8, 2026 10:59
@kumability
kumability requested review from Josh-Cena, bacharakis, chrisdavidmills and estelle and removed request for a team October 8, 2026 10:59
@github-actions github-actions Bot added Content:CSS Cascading Style Sheets docs Content:WebExt WebExtensions docs Content:JS JavaScript docs Content:Learn Learning area docs (outside of one of the Learn:* subtags) Content:wasm WebAssembly docs Content:Meta Content in the meta docs size/s [PR only] 6-50 LoC changed labels Oct 8, 2026

@chrisdavidmills chrisdavidmills left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Content:CSS Cascading Style Sheets docs Content:JS JavaScript docs Content:Learn Learning area docs (outside of one of the Learn:* subtags) Content:Meta Content in the meta docs Content:wasm WebAssembly 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