diff options
author | Christopher Smith <chris@jalakai.co.uk> | 2013-08-01 10:44:08 -0700 |
---|---|---|
committer | Christopher Smith <chris@jalakai.co.uk> | 2013-08-01 10:44:08 -0700 |
commit | 5dba76ffbaa5c62670385d1a3c325c72db3f6c64 (patch) | |
tree | 779631f6069e40bc712077b3f90d896e9791a915 /lib/exe/css.php | |
parent | c425285c0273b9fbf892f069903834b061b39914 (diff) | |
parent | 88833bac87e7fb295c0479a8260d1d63051bca8d (diff) | |
download | rpg-5dba76ffbaa5c62670385d1a3c325c72db3f6c64.tar.gz rpg-5dba76ffbaa5c62670385d1a3c325c72db3f6c64.tar.bz2 |
Merge pull request #232 from flammy/patch-1
Fixes validation problems with base64 encoded images in CSS.
Diffstat (limited to 'lib/exe/css.php')
-rw-r--r-- | lib/exe/css.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/exe/css.php b/lib/exe/css.php index 1e662c64a..768c8eda4 100644 --- a/lib/exe/css.php +++ b/lib/exe/css.php @@ -314,7 +314,7 @@ function css_datauri($match){ $data = base64_encode(file_get_contents($local)); } if($data){ - $url = 'data:image/'.$ext.';base64,'.$data; + $url = '\'data:image/'.$ext.';base64,'.$data.'\''; }else{ $url = $base.$url; } |