aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/LexHTML.cxx
diff options
context:
space:
mode:
authornyamatongwe <unknown>2005-07-19 08:18:08 +0000
committernyamatongwe <unknown>2005-07-19 08:18:08 +0000
commit2f8ffbcd104e73b0eb5221aac25535d1fb7b9638 (patch)
tree3f7c7df48db5d6816736dd3ee885f61d4c01640d /src/LexHTML.cxx
parentbd89a2b64b46ab316d83c5a88870de9f5ba2ee1e (diff)
downloadscintilla-mirror-2f8ffbcd104e73b0eb5221aac25535d1fb7b9638.tar.gz
Patch from Kamen Stanev allows <% inside PHP strings.
Diffstat (limited to 'src/LexHTML.cxx')
-rw-r--r--src/LexHTML.cxx2
1 files changed, 1 insertions, 1 deletions
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)