cnb / News_Manager-getsimplecms

A blog/news plugin for GetSimple CMS - development extended version
8 stars 10 forks source link

Hyphen as first char in slug, if title's first chars are untransliteratable #12

Closed cnb closed 11 years ago

cnb commented 11 years ago

If we create a post with a title like "Привет world", the post is saved with slug "-world" (a hyphen at the beginning)

Doesn't happen with a title like "Hey Привет" (slug is "hey", no hyphen at the end)

cnb commented 11 years ago

This also happens with GetSimple itself (tested with 3.1.2), as NM uses the same way to create slugs.

cnb commented 11 years ago

For now I'll leave it like it is. It doesn't break anything.