From 2f8ffbcd104e73b0eb5221aac25535d1fb7b9638 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Tue, 19 Jul 2005 08:18:08 +0000 Subject: Patch from Kamen Stanev allows <% inside PHP strings. --- src/LexHTML.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/LexHTML.cxx') diff --git a/src/LexHTML.cxx b/src/LexHTML.cxx index 6c4dc241b..036bf1a8f 100644 --- a/src/LexHTML.cxx +++ b/src/LexHTML.cxx @@ -680,7 +680,7 @@ static void ColouriseHyperTextDoc(unsigned int startPos, int length, int initSty } // 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) -- cgit v1.2.3