mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-25 14:58:27 -05:00
Don't affect leading whitespace on sprite rules.
This commit is contained in:
@@ -28,7 +28,7 @@ def optimize_png(fname, optimizer = "/usr/bin/env optipng"):
|
||||
|
||||
|
||||
class Spriter(object):
|
||||
spritable = re.compile(r" *background-image: *url\((.*)\) *.*/\* *SPRITE *\*/")
|
||||
spritable = re.compile(r"background-image: *url\((.*)\) *.*/\* *SPRITE *\*/")
|
||||
|
||||
def __init__(self, padding = (4, 4),
|
||||
css_path = '/static/', actual_path = "r2/public/static/"):
|
||||
|
||||
Reference in New Issue
Block a user