Skip to content

titleCase insert extra space when convert a valid titleCase string #96

@ntnyq

Description

@ntnyq

Environment

Any

Reproduction

import { titleCase } from 'scule'

console.log(titleCase('Hello World')) // -> `Hello  World`

console.log(titleCase(titleCase('Hello World'))) // -> `Hello   World`

Describe the bug

It should be left as it is.

Additional context

No response

Logs

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions