diff --git a/scripts/make-folklist.py b/scripts/make-folklist.py index e2389e6ee..c37e67f7a 100644 --- a/scripts/make-folklist.py +++ b/scripts/make-folklist.py @@ -35,6 +35,7 @@ def troggle_slugify(longname): slug = slug.replace('&', '') # otherwise just remove the & slug = slug.replace(';', '') # otherwise just remove the ; slug = re.sub(r'<[^>]*>','',slug) # remove + slug=slug.strip("-") # remove spare hyphens if len(slug) > 40: # slugfield is 50 chars slug = slug[:40]