mirror of
https://github.com/danielstjules/Stringy.git
synced 2025-08-14 17:24:29 +02:00
Fixes #19: Handle consecutive invalid chars in slugify
This commit is contained in:
@@ -333,6 +333,8 @@ abstract class CommonTest extends PHPUnit_Framework_TestCase
|
||||
{
|
||||
return array(
|
||||
array('foo-bar', ' foo bar '),
|
||||
array('foo-bar', 'foo -.-"-...bar'),
|
||||
array('another-foo-bar', 'another..& foo -.-"-...bar'),
|
||||
array('foo-dbar', " Foo d'Bar "),
|
||||
array('a-string-with-dashes', 'A string-with-dashes'),
|
||||
array('using-strings-like-foo-bar', 'Using strings like fòô bàř'),
|
||||
|
Reference in New Issue
Block a user