diff options
author | Christopher Smith <chris@jalakai.co.uk> | 2014-03-18 18:25:42 +0000 |
---|---|---|
committer | Christopher Smith <chris@jalakai.co.uk> | 2014-03-18 18:25:42 +0000 |
commit | 177ef92c4ddd38cb906dd7d5f0208c698048cd57 (patch) | |
tree | 1ac59067a92789f3ae0196a93dd79d315a18e0b6 /lib/exe/css.php | |
parent | 84abf1113fd407d4ffefe3313b8f0c3214f04b05 (diff) | |
parent | f8fb2d1811251304687b805a60b489f63cb5c4fb (diff) | |
download | rpg-177ef92c4ddd38cb906dd7d5f0208c698048cd57.tar.gz rpg-177ef92c4ddd38cb906dd7d5f0208c698048cd57.tar.bz2 |
Merge pull request #616 from splitbrain/stripsourcemaps
strip sourcemaps in CSS and JS #601
Diffstat (limited to 'lib/exe/css.php')
-rw-r--r-- | lib/exe/css.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/exe/css.php b/lib/exe/css.php index 41d9a65b1..30d0d18c5 100644 --- a/lib/exe/css.php +++ b/lib/exe/css.php @@ -133,6 +133,9 @@ function css_out(){ $css = ob_get_contents(); ob_end_clean(); + // strip any source maps + stripsourcemaps($css); + // apply style replacements $css = css_applystyle($css, $styleini['replacements']); |