diff --git a/scintilla/lexers/LexHTML.cxx b/scintilla/lexers/LexHTML.cxx
index 0155cd23..e3333181 100644
--- a/scintilla/lexers/LexHTML.cxx
+++ b/scintilla/lexers/LexHTML.cxx
@@ -423,6 +423,7 @@ static int StateForScript(script_type scriptLanguage) {
switch (scriptLanguage) {
case eScriptJS:
Result = SCE_HJ_START;
+ break;
case eScriptPython:
Result = SCE_HP_START;
break;