diff options
Diffstat (limited to 'src/LexHTML.cxx')
| -rw-r--r-- | src/LexHTML.cxx | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/src/LexHTML.cxx b/src/LexHTML.cxx index 165697746..89f82c676 100644 --- a/src/LexHTML.cxx +++ b/src/LexHTML.cxx @@ -725,7 +725,7 @@ static void ColouriseHyperTextDoc(unsigned int startPos, int length, int initSty  		         (ch == '<') &&  		         (chNext == '?') &&  				 !IsScriptCommentState(state) ) { -			scriptLanguage = segIsScriptingIndicator(styler, i + 2, i + 10, eScriptPHP); +			scriptLanguage = segIsScriptingIndicator(styler, i + 2, i + 6, eScriptPHP);  			if (scriptLanguage != eScriptPHP && isStringState(state)) continue;  			styler.ColourTo(i - 1, StateToPrint);  			beforePreProc = state; | 
