--- work/scintilla/src/LexHTML.cxx 2005-04-01 04:03:52.000000000 +0300 +++ patchedwork/scintilla/src/LexHTML.cxx 2005-07-08 21:52:33.000000000 +0300 @@ -678,7 +678,7 @@ } // handle the start of ASP pre-processor = Non-HTML - else if (!isCommentASPState(state) && (ch == '<') && (chNext == '%')) { + else if (!isCommentASPState(state) && (ch == '<') && (chNext == '%') && !isPHPStringState(state)) { styler.ColourTo(i - 1, StateToPrint); beforePreProc = state; if (inScriptType == eNonHtmlScript)