middleman-blog icon indicating copy to clipboard operation
middleman-blog copied to clipboard

Cyrillic tags stopped working in 4.0.2

Open konakov opened this issue 8 years ago • 2 comments

Cyrillic tags stopped working on my blog. They surely did in April, where I wrote the latest post: http://konakov.biz/tags/основы/ (visible in the browser as http://konakov.biz/tags/основы/). Latin tags work fine.

Expected behaviour

Blog renders Cyrillic tags like http://konakov.biz/tags/основы/

Actual behaviour

Blog renders every Cyrillic tag as http://konakov.biz/tags/.html

Steps to reproduce the problem

https://github.com/konakov/blog

Additional information

I fixed the problem by downgrading middleman-blog gem to version 4.0.1.

  • Ruby version: 2.4.2
  • Middleman version: 4.2.1
  • Middleman Blog version: 4.0.2
  • OS version: Arch Linux current stable

konakov avatar Dec 12 '17 12:12 konakov

Problem in Middleman::Blog::UriTemplates.safe_parameterize

2.4.1 :008 > Middleman::Blog::UriTemplates.safe_parameterize('link string') => "link-string" 2.4.1 :004 > Middleman::Blog::UriTemplates.safe_parameterize('основы') => ""

AlexNimoy avatar Feb 08 '18 19:02 AlexNimoy

Should be fixed in 4.0.3

tdreyno avatar Dec 27 '18 22:12 tdreyno