aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexers/LexHTML.cxx
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2012-08-25 17:37:57 +1000
committernyamatongwe <devnull@localhost>2012-08-25 17:37:57 +1000
commit8fb28f024bf597b55e8dbdf2bd11e3f9d69a5a41 (patch)
tree6ac282f919b9620e148b34c2aa53c7d60cc4c765 /lexers/LexHTML.cxx
parent0ebd7cda67d99bb3027212a06360a215ac5e7551 (diff)
downloadscintilla-mirror-8fb28f024bf597b55e8dbdf2bd11e3f9d69a5a41.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;