diff --git a/code/Site/Site.js b/code/Site/Site.js index 09cdc67d..413fb185 100644 --- a/code/Site/Site.js +++ b/code/Site/Site.js @@ -489,7 +489,8 @@ Site.prototype.main_css_action = function() { res.push(); this.renderSkin('$Site#stylesheet'); this.renderSkin('Site#stylesheet'); - var css = res.pop(); + var css = res.pop() + .replace(/<(\/?style|!).*/g, ''); // TODO: Actually, a compatibility fix (earlier CSS skins contained the