mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-30 20:07:36 +00:00
Temporary fix for gif/UTF 8 issue.
Reviewed by me.
This commit is contained in:
1 parent
be72a3ff47
commit
ad03ab01e2
1 file changed
+4
@@ -72,6 +72,10 @@ function gen(/*va_args*/)
|
||||
key = nil,
|
||||
keyEnumerator = [configuration keyEnumerator];
|
||||
|
||||
// FIXME: HACK
|
||||
if (path.indexOf('.gif') !== -1)
|
||||
continue;
|
||||
|
||||
while (key = [keyEnumerator nextObject])
|
||||
contents = contents.replace(new RegExp("__" + key + "__", 'g'), [configuration valueForKey:key]);
|
||||
|
||||
|
||||
Reference in new issue
Block a user