From c90bf42f276d56f63271832c2181a5cd38e7af44 Mon Sep 17 00:00:00 2001 From: syuilo Date: Thu, 9 Feb 2017 20:23:51 +0900 Subject: [PATCH] Fix bug --- src/common/text/elements/code.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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++;