What version of Jekyll are you using (jekyll -v)?
v3.0.3 (using github-pages gem)
What operating system are you using?
Windows 7 Ultimate 64bit
What did you do?
Trying to slugify strings with Swedish letters in them. Not behaving like I would expect (to remove them or change the letters).
Example string: {{ 'kvalité, då, äta, öl' | slugify }}
What did you expect to see?
kvalit-d-ta-l
OR
kvalite-da-ata-ol
What did you see instead?
kvalité-då-äta-öl
My workaround would be to replace/remove the single letters before slugify'ing, but I'm wondering if there's anything else I can do.
Example replace: {{ 'kvalité, då, äta, öl' | replace: 'é', 'e' | replace: 'å', 'a' | replace: 'ä', 'a' | replace: 'ö', 'o' | slugify }}
What version of Jekyll are you using (
jekyll -v)?v3.0.3 (using
github-pagesgem)What operating system are you using?
Windows 7 Ultimate 64bit
What did you do?
Trying to
slugifystrings with Swedish letters in them. Not behaving like I would expect (to remove them or change the letters).Example string:
{{ 'kvalité, då, äta, öl' | slugify }}What did you expect to see?
kvalit-d-ta-lOR
kvalite-da-ata-olWhat did you see instead?
kvalité-då-äta-ölMy workaround would be to replace/remove the single letters before slugify'ing, but I'm wondering if there's anything else I can do.
Example replace:
{{ 'kvalité, då, äta, öl' | replace: 'é', 'e' | replace: 'å', 'a' | replace: 'ä', 'a' | replace: 'ö', 'o' | slugify }}