fix: slugify transliterates now much better

This commit is contained in:
2026-03-01 07:12:38 +01:00
parent 583c37473a
commit 289535021a
7 changed files with 149 additions and 10 deletions

View File

@@ -227,9 +227,9 @@ describe('PostEngine', () => {
expect(post.slug).toBe('multiple-spaces-here');
});
it('should handle unicode characters by removing them', async () => {
it('should handle unicode characters by transliterating them', async () => {
const post = await postEngine.createPost({ title: 'Café Test' });
expect(post.slug).toBe('caf-test');
expect(post.slug).toBe('cafe-test');
});
});