public/js/vendor/codemirror3/mode/htmlembedded/htmlembedded.js
function htmlDispatch(stream, state) {
      if (stream.match(scriptStartRegex, false)) {
          state.token=scriptingDispatch;
          return scriptingMode.token(stream, state.scriptState);
          }
      else
          return htmlMixedMode.token(stream, state.htmlState);
    }
function htmlDispatch(stream, state) {
      if (stream.match(scriptStartRegex, false)) {
          state.token=scriptingDispatch;
          return scriptingMode.token(stream, state.scriptState);
          }
      else
          return htmlMixedMode.token(stream, state.htmlState);
    }
function htmlDispatch ( stream , state ) { if ( stream . match ( scriptStartRegex , false ) ) { state . token = scriptingDispatch ; return scriptingMode . token ( stream , state . scriptState ) ; } else return htmlMixedMode . token ( stream , state . htmlState ) ; }
tokenizer when in html mode
tokenizer when in html mode