From e4685312a6f7c5ea084a64fa59a1fde53bd6ce4d Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Wed, 20 Jan 2021 13:39:04 -0300 Subject: _plugins/linter.rb: Allow single quotes on titles, slugify correctly --- _plugins/linter.rb | 1 + 1 file changed, 1 insertion(+) (limited to '_plugins') diff --git a/_plugins/linter.rb b/_plugins/linter.rb index 4972106..2bdac1a 100644 --- a/_plugins/linter.rb +++ b/_plugins/linter.rb @@ -28,6 +28,7 @@ module Jekyll def slugify(s) s.ljust(100) + .gsub(/[']/, '') .gsub(/[\W]+/, ' ') .strip .gsub(/\s\s+/, '-') -- cgit v1.2.3