aboutsummaryrefslogtreecommitdiff
path: root/_plugins/linter.rb
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2021-09-03 15:44:19 -0300
committerEuAndreh <eu@euandre.org>2021-09-03 15:45:22 -0300
commit2232d77eb3cb918fc44112ce9a7e948ab8f6fe67 (patch)
treef8cb75908f7a50ed2dcbaa3bd26abf0d13e59641 /_plugins/linter.rb
parentpastebin: Auto-add _pastebins/2021-09-03-sicp-persistent-on-queue.md (diff)
downloadeuandre.org-2232d77eb3cb918fc44112ce9a7e948ab8f6fe67.tar.gz
euandre.org-2232d77eb3cb918fc44112ce9a7e948ab8f6fe67.tar.xz
_plugins/linter.rb: Fix slugifying of ()
Diffstat (limited to '_plugins/linter.rb')
-rw-r--r--_plugins/linter.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/_plugins/linter.rb b/_plugins/linter.rb
index 2bdac1a..5f3a477 100644
--- a/_plugins/linter.rb
+++ b/_plugins/linter.rb
@@ -28,7 +28,7 @@ module Jekyll
def slugify(s)
s.ljust(100)
- .gsub(/[']/, '')
+ .gsub(/[()']/, '')
.gsub(/[\W]+/, ' ')
.strip
.gsub(/\s\s+/, '-')