diff --git a/js/converter.js b/js/converter.js index 4cd955c..2f1e2bd 100644 --- a/js/converter.js +++ b/js/converter.js @@ -19,7 +19,7 @@ StylesConverter.prototype.toJSON = function (text) { } var output = {}, lastKey, term, style, _this = this; try { - text.split("{").every(function (item) { + text.split("{").forEach(function (item) { term = item.trim(); if (term) { if (term.indexOf("}") === -1) {