Merge pull request #838 from jimperio/master

Make relative URLs work on Windows.
This commit is contained in:
Justin Mayer 2013-04-12 06:19:01 -07:00
commit ba41611d64

View file

@ -317,7 +317,7 @@ def path_to_url(path):
if os.sep == '/': if os.sep == '/':
return path return path
else: else:
'/'.join(split_all(path)) return '/'.join(split_all(path))
def truncate_html_words(s, num, end_text='...'): def truncate_html_words(s, num, end_text='...'):