Skip to content

Commit

Permalink
Merge pull request #20 from mac2000/master
Browse files Browse the repository at this point in the history
Fix for wrong cyrillic D letter rules
  • Loading branch information
Florian Eckerstorfer committed Mar 16, 2014
2 parents eba2fa3 + 0c029ec commit 8678292
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/Slugify.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,11 @@ class Slugify implements SlugifyInterface
'Ð' => 'Dj',
'Ď' => 'Dj',
'Đ' => 'Dj',
'Д' => 'Dj',
'Д' => 'D',
'ð' => 'dj',
'ď' => 'dj',
'đ' => 'dj',
'д' => 'dj',
'д' => 'd',
'È' => 'E',
'É' => 'E',
'Ê' => 'E',
Expand Down
3 changes: 2 additions & 1 deletion tests/SlugifyTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,8 @@ public function provider()
array('°¹²³@', '0123at'),
array('Mórë thån wørds', 'more-than-words'),
array('Блоґ їжачка', 'blog-jizhachka'),
array('фильм', 'film')
array('фильм', 'film'),
array('драма', 'drama')
);
}
}

0 comments on commit 8678292

Please sign in to comment.