summaryrefslogtreecommitdiff
path: root/lib/exe/css.php
diff options
context:
space:
mode:
authorChristopher Smith <chris@jalakai.co.uk>2014-03-18 18:25:42 +0000
committerChristopher Smith <chris@jalakai.co.uk>2014-03-18 18:25:42 +0000
commit177ef92c4ddd38cb906dd7d5f0208c698048cd57 (patch)
tree1ac59067a92789f3ae0196a93dd79d315a18e0b6 /lib/exe/css.php
parent84abf1113fd407d4ffefe3313b8f0c3214f04b05 (diff)
parentf8fb2d1811251304687b805a60b489f63cb5c4fb (diff)
downloadrpg-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.php3
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']);