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

Improve permalink generation #925

wants to merge 2 commits into
base: master


None yet
1 participant

plepe commented Sep 14, 2018

I found the auto-generated permalinks ugly, so I hacked into the code and made a few improvements:

  • allow upper case characters
  • replace '.' by '-' (instead of '')
  • merge multiple '-' into a single '-'

A second commit chops permalinks at 64 characters. As the database column is limited to 64 characters, this resulted in SQL errors for longer titles.

plepe added some commits Sep 13, 2018

str2url: improve automatic url generation
- allow upper case characters
- replace '.' by '-'
- merge multiple '-' into one '-'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment