Skip to content

Fix special characters on tags#406

Merged
rochacbruno merged 6 commits intomainfrom
404v2
Nov 25, 2025
Merged

Fix special characters on tags#406
rochacbruno merged 6 commits intomainfrom
404v2

Conversation

@rochacbruno
Copy link
Copy Markdown
Owner

@rochacbruno rochacbruno commented Nov 25, 2025

fix #404

Replace slugify with the same one used by tera
Do not use nfd so no extra - on urls
Add backwards compatibility layer for existing templates

With this change, a tag Comunicação will generate tag-comunicacao.html and templates will handle it correctly.

The same applies for posts, a post with a title Comunicação na Programação will have its auto generated slug as comunicacao-na-programacao

@rochacbruno rochacbruno merged commit b77b138 into main Nov 25, 2025
3 checks passed
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

Successfully merging this pull request may close these issues.

bug: URL to tag archives are wrong when the tag has special (non-ASCII) chars

1 participant