equal
deleted
inserted
replaced
31 shorter than three characters are removed; terms are joined by hyphens. |
31 shorter than three characters are removed; terms are joined by hyphens. |
32 """ |
32 """ |
33 return '-'.join(filter(lambda x: len(x) >= min_word_length, |
33 return '-'.join(filter(lambda x: len(x) >= min_word_length, |
34 translate_string(title, escape_slashes=False, force_lower=True, |
34 translate_string(title, escape_slashes=False, force_lower=True, |
35 spaces='-', remove_punctuation=True, |
35 spaces='-', remove_punctuation=True, |
36 keep_chars='-').split('-'))) |
36 keep_chars='-').replace('/', '-').split('-'))) |
37 |
37 |
38 |
38 |
39 # |
39 # |
40 # Request display context |
40 # Request display context |
41 # |
41 # |