mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
omit single quotes from slug
This commit is contained in:
@@ -51,5 +51,9 @@ describe Slug do
|
||||
Slug.for('電車男 2').should be_blank
|
||||
end
|
||||
|
||||
it "doesn't keep single quotes within word" do
|
||||
Slug.for("Jeff hate's this").should == "jeff-hates-this"
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user