diff --git a/src/common/text/elements/code.js b/src/common/text/elements/code.js index c76b274851..1e1ad00bfc 100644 --- a/src/common/text/elements/code.js +++ b/src/common/text/elements/code.js @@ -105,7 +105,7 @@ const elements = [ const begin = code[0]; let str = begin; let thisIsNotAString = false; - for (i = 1; i < code.length; i++) { + for (let i = 1; i < code.length; i++) { const char = code[i]; if (char == '\\') { i++;