From a5cd87de728d98eab579402864ceff2a58d8e1aa Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 31 Oct 2013 17:25:26 +0530 Subject: [PATCH] ... --- src/calibre/gui2/tweak_book/editor/syntax/css.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/calibre/gui2/tweak_book/editor/syntax/css.py b/src/calibre/gui2/tweak_book/editor/syntax/css.py index c4ad909ac0..3b836e8f64 100644 --- a/src/calibre/gui2/tweak_book/editor/syntax/css.py +++ b/src/calibre/gui2/tweak_book/editor/syntax/css.py @@ -205,6 +205,7 @@ def in_string(state, text, i, formats): pos = text.find(q, i) if pos == -1: if text[-1] == '\\': + # Multi-line string return [(len(text) - i, formats['string'])] state.parse = (State.NORMAL if state.blocks < 1 else State.IN_CONTENT) return [(len(text) - i, formats['unterminated-string'])]