about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--src/config/toml.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config/toml.nim b/src/config/toml.nim
index fe28ee27..4c195871 100644
--- a/src/config/toml.nim
+++ b/src/config/toml.nim
@@ -211,7 +211,7 @@ proc consumeString(state: var TomlParser, first: char):
     let c = state.consume()
     if c == '\n' and not multiline:
       return state.err("newline in string")
-    elif c == first:
+    elif not escape and c == first:
       if multiline:
         if state.has(1):
           let c2 = state.peek(0)