diff --git a/build/prepro.js b/build/prepro.js index 10e7089a..bfed8277 100755 --- a/build/prepro.js +++ b/build/prepro.js @@ -157,7 +157,7 @@ function stripComments(str) { if (quote) { // When checking for quote escaping, we also need to check that the // escape sign itself is not escaped, as otherwise '\\' would cause - // the wrong impression of and endlessly open string: + // the wrong impression of an unclosed string: if (str[i] === quoteSign && (str[i - 1] !== '\\' || str[i - 2] === '\\')) quote = false; } else if (blockComment) { diff --git a/src/svg/SvgExport.js b/src/svg/SvgExport.js index 8605c6c1..4c699444 100644 --- a/src/svg/SvgExport.js +++ b/src/svg/SvgExport.js @@ -349,7 +349,7 @@ new function() { attrs[entry.attribute] = value == null ? 'none' : entry.type === 'color' - ? value.toCss(false) + ? value.toCss(false) // false for withAlpha, see above : entry.type === 'array' ? value.join(',') : entry.type === 'number'