Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

url_title doesn't work with decimal number in title #3878

Closed
perspolise opened this issue Nov 12, 2020 · 1 comment
Closed

url_title doesn't work with decimal number in title #3878

perspolise opened this issue Nov 12, 2020 · 1 comment

Comments

@perspolise
Copy link

I have decimal number in my title like:

this product size 0.5 or this product size 0,5

I need to create slug url and add to database using url_title function:

url_title('this product size 0.5') but in action url_title remove . or , from url and output is:

this product size 05

how do can I keep . or , in url when I work with url_title function?!

@michalsn
Copy link
Member

michalsn commented Jan 3, 2021

There is no option in the url_title() function that can handle this.

Please ask support questions in the Forum.

@michalsn michalsn closed this as completed Jan 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants