diff --git a/js/usercss.js b/js/usercss.js index 5f67f815..eb1a31dd 100644 --- a/js/usercss.js +++ b/js/usercss.js @@ -414,6 +414,8 @@ var usercss = (function () { } function _buildMeta(sourceCode) { + sourceCode = sourceCode.replace(/\r\n?/g, '\n'); + const usercssData = { vars: {} };