diff --git a/api/parse.js.html b/api/parse.js.html index 368a7647..14c24106 100644 --- a/api/parse.js.html +++ b/api/parse.js.html @@ -346,7 +346,7 @@ // then increment pos to find next ; while ((pos !== false) && - (pos = unescapedIndexOf(line, delim, pos + 1)) !== -1) { + (pos = line.indexOf(delim, pos + 1)) !== -1) { name = line.slice(lastParam + 1, pos); if (name.length == 0) { @@ -372,12 +372,12 @@ let nextChar = line[pos + 1]; if (nextChar === '"') { valuePos = pos + 2; - pos = unescapedIndexOf(line, '"', valuePos); + pos = line.indexOf('"', valuePos); if (multiValue && pos != -1) { let extendedValue = true; while (extendedValue) { if (line[pos + 1] == multiValue && line[pos + 2] == '"') { - pos = unescapedIndexOf(line, '"', pos + 3); + pos = line.indexOf('"', pos + 3); } else { extendedValue = false; } @@ -389,8 +389,8 @@ ); } value = line.slice(valuePos, pos); - lastParam = unescapedIndexOf(line, PARAM_DELIMITER, pos); - let propValuePos = unescapedIndexOf(line, VALUE_DELIMITER, pos); + lastParam = line.indexOf(PARAM_DELIMITER, pos); + let propValuePos = line.indexOf(VALUE_DELIMITER, pos); // if either no next parameter or delimeter in property value, let's stop here if (lastParam === -1 || (propValuePos !== -1 && lastParam > propValuePos)) { pos = false; @@ -399,8 +399,8 @@ valuePos = pos + 1; // move to next ";" - let nextPos = unescapedIndexOf(line, PARAM_DELIMITER, valuePos); - let propValuePos = unescapedIndexOf(line, VALUE_DELIMITER, valuePos); + let nextPos = line.indexOf(PARAM_DELIMITER, valuePos); + let propValuePos = line.indexOf(VALUE_DELIMITER, valuePos); if (propValuePos !== -1 && nextPos > propValuePos) { // this is a delimiter in the property value, let's stop here nextPos = propValuePos;