Keep same number of spaces

Created on 15 March 2014, almost 11 years ago
Updated 11 July 2024, 8 months ago

Hi and thanks for this module,

I have a special use case where I must reproduce aliases from an existing site exactly.

Among other problems, I have to keep the number of spaces, so the number of separators, equal from one site to the other.

For example, the string "This is a special string with two spaces here." should translate to :

this-is-a-special-string-with-two-spaces--here (note the two dashes)

... and not to :

this-is-a-special-string-with-two-spaces-here (one dash only)

I'm using the transliteration module, because french accentuated characters must be managed.

A simple hint to a line I must change in the code would do.

Thanks in advance.

Feature request
Status

Needs work

Version

1.0

Component

Code

Created by

🇫🇷France Countzero

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • Pipeline finished with Canceled
    8 months ago
    Total: 74s
    #222179
  • Issue was unassigned.
  • Status changed to Needs work 8 months ago
  • I came across this request several times, maybe someone else needs it, so I suggest introducing an option for this.

  • Pipeline finished with Failed
    8 months ago
    Total: 230s
    #222180
  • Pipeline finished with Success
    8 months ago
    Total: 171s
    #222185
  • Pipeline finished with Success
    8 months ago
    Total: 171s
    #222186
  • Pipeline finished with Success
    8 months ago
    #222200
  • Pipeline finished with Success
    8 months ago
    Total: 175s
    #222210
  • Pipeline finished with Success
    8 months ago
    Total: 209s
    #222221
Production build 0.71.5 2024