Commit ff1c4ec8fb25a97a2e0b28feed5f3d45a66a8262
Committed by
GitHub
Merge pull request #603 from jktu2870/bugs
Fix for base64 in widget custom CSS editor
Showing
1 changed file
with
2 additions
and
1 deletions
... | ... | @@ -147,7 +147,8 @@ fi.prototype.parseRules = function (rules) { |
147 | 147 | rules = rules.split('\r\n').join('\n'); |
148 | 148 | var ret = []; |
149 | 149 | |
150 | - rules = rules.split(';'); | |
150 | + // Split all rules but keep semicolon for base64 url data | |
151 | + rules = rules.split(/;(?!base64)/); | |
151 | 152 | |
152 | 153 | //proccess rules line by line |
153 | 154 | for (var i = 0; i < rules.length; i++) { | ... | ... |