Skip to content

Commit

Permalink
Normalize url in order to collapses redundant separators and up-level…
Browse files Browse the repository at this point in the history
… references
  • Loading branch information
Jorge Bastida committed Oct 30, 2012
1 parent 464034e commit 7d03447
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions glue.py
Expand Up @@ -964,6 +964,7 @@ def image_url(self, ratio=1):
else:
image_path = self.image_path(ratio)
url = os.path.relpath(image_path, self.manager.output_path('css'))
url = os.path.normpath(url)

# Fix css urls on Windows
if os.name == 'nt':
Expand Down

0 comments on commit 7d03447

Please sign in to comment.