Skip to content

Accented letters are dropped from slugs #2

Open

Description

@admarble

Problem

slugify drops accented letters instead of converting them, so non-English titles lose letters:

slugify("Crème Brûlée") // "cr-me-br-l-e"   (expected "creme-brulee")

Acceptance Criteria

  • AC-1: slugify("Crème Brûlée") returns "creme-brulee". Evidence: a test in test/slugify.test.js
  • AC-2: Letters with diacritics are converted to their base letter (é → e, ü → u, ñ → n) using Unicode normalization, with no new dependencies. Evidence: test covering é, ü and ñ
  • AC-3: The three existing tests still pass. Evidence: npm test

Activity

  1. added
    bug
    on Oct 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions