Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Oops.
  • Loading branch information
da2x committed Sep 8, 2015
1 parent 33db32f commit e4189f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nikola/utils.py
Expand Up @@ -760,7 +760,7 @@ def slugify(value, force=False):
# This is the standard state of slugify, which actually does some work.
# It is the preferred style, especially for Western languages.
value = unicode_str(unidecode(value))
value = _slugify_strip_re.sub('', value, re.UNICODE).strip()
value = _slugify_strip_re.sub('', value, re.UNICODE).strip().lower()
return _slugify_hyphenate_re.sub('-', value, re.UNICODE)
else:
# This is the “disarmed” state of slugify, which lets the user
Expand All @@ -775,7 +775,7 @@ def slugify(value, force=False):

for c in rc:
value = value.replace(c, '-')
return value.lower()
return value


def unslugify(value, discard_numbers=True):
Expand Down

0 comments on commit e4189f5

Please sign in to comment.