Skip to content

camelCase output not as expected #211

@yelaissaoui

Description

@yelaissaoui

Describe the bug
The function camelCase renders a different output. The capital characters in the middle of the words are not lowered.
Eg : "foo BAR baz!" becomes "FooBARBaz".

To Reproduce
Use camelCaseLower in a template, give it a value with capital letter in the middle of the words.

Expected behavior
"foo BAR baz!" becomes "FooBarBaz". No capital characters in the middle of the words.

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