diff options
-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 616b3acfd..8feaea769 100644 --- a/src/LexHTML.cxx +++ b/src/LexHTML.cxx @@ -751,7 +751,7 @@ static void ColouriseHyperTextDoc(unsigned int startPos, int length, int initSty || (inScriptType == eNonHtmlScriptPreProc)) && ( ((scriptLanguage == eScriptPHP) && (ch == '?') && !isPHPStringState(state) && (state != SCE_HPHP_COMMENT)) || ((scriptLanguage != eScriptNone) && !isStringState(state) && - (ch == '%')) + ((ch == '%') || (ch == '?'))) ) && (chNext == '>')) || ((scriptLanguage == eScriptSGML) && (ch == '>') && (state != SCE_H_SGML_COMMENT))) { if (state == SCE_H_ASPAT) { |