Fix #855070 (Article plus punctuation creates bad title sort)

This commit is contained in:
Kovid Goyal 2011-09-20 17:15:26 -06:00
parent ce84bcd444
commit e111ac413a

View File

@ -116,6 +116,8 @@ def title_sort(title, order=None):
if match:
prep = match.group(1)
title = title[len(prep):] + ', ' + prep
if title[0] in _ignore_starts:
title = title[1:]
return title.strip()
coding = zip(