aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/assert-content.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/assert-content.sh b/scripts/assert-content.sh
index 16fa2d6..a832a23 100755
--- a/scripts/assert-content.sh
+++ b/scripts/assert-content.sh
@@ -20,6 +20,7 @@ slugify() {
echo "${1}" | \
tr '[:upper:]' '[:lower:]' | \
perl -ne 'tr/\000-\177//cd;
+ s|/|-|g;
s/[^\w\s-.]//g;
s/^\s+|\s+$//g;
s/[-\s.]+/-/g;