aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexers/LexHTML.cxx
diff options
context:
space:
mode:
authornyamatongwe <unknown>2012-08-25 17:37:57 +1000
committernyamatongwe <unknown>2012-08-25 17:37:57 +1000
commitdcc97971562b924d0cc488b8c9b486c5ded88f1c (patch)
treeb03a29db810b314b2641e5b833d48322126d1c79 /lexers/LexHTML.cxx
parentc4ce4d309ac593373d533e9913b0a6a5f4400e0b (diff)
downloadscintilla-mirror-dcc97971562b924d0cc488b8c9b486c5ded88f1c.tar.gz
Long XML script tag correctly lexed. Bug #3534190.
From Sakshi Verma.
Diffstat (limited to 'lexers/LexHTML.cxx')
-rw-r--r--lexers/LexHTML.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/lexers/LexHTML.cxx b/lexers/LexHTML.cxx
index fe5e8c857..5fb6383fb 100644
--- a/lexers/LexHTML.cxx
+++ b/lexers/LexHTML.cxx
@@ -297,7 +297,7 @@ static int classifyTagHTML(unsigned int start, unsigned int end,
if (allowScripts && 0 == strcmp(s, "script")) {
// check to see if this is a self-closing tag by sniffing ahead
bool isSelfClose = false;
- for (unsigned int cPos = end; cPos <= end + 100; cPos++) {
+ for (unsigned int cPos = end; cPos <= end + 200; cPos++) {
char ch = styler.SafeGetCharAt(cPos, '\0');
if (ch == '\0' || ch == '>')
break;