diff options
author | nyamatongwe <devnull@localhost> | 2012-08-25 17:37:57 +1000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2012-08-25 17:37:57 +1000 |
commit | 8fb28f024bf597b55e8dbdf2bd11e3f9d69a5a41 (patch) | |
tree | 6ac282f919b9620e148b34c2aa53c7d60cc4c765 | |
parent | 0ebd7cda67d99bb3027212a06360a215ac5e7551 (diff) | |
download | scintilla-mirror-8fb28f024bf597b55e8dbdf2bd11e3f9d69a5a41.tar.gz |
Long XML script tag correctly lexed. Bug #3534190.
From Sakshi Verma.
-rw-r--r-- | doc/ScintillaHistory.html | 2 | ||||
-rw-r--r-- | lexers/LexHTML.cxx | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/doc/ScintillaHistory.html b/doc/ScintillaHistory.html index fe4bc838c..15f29065e 100644 --- a/doc/ScintillaHistory.html +++ b/doc/ScintillaHistory.html @@ -410,6 +410,8 @@ <td>darmar</td> <td>John Vella</td> <td>Chinh Nguyen</td> + </tr><tr> + <td>Sakshi Verma</td> </tr> </table> <p> 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; |