MCPcopy Create free account
hub / github.com/TruthHun/BookStack / script

Function script

static/editor.md/lib/codemirror/mode/htmlmixed/htmlmixed.js:68–76  ·  view source on GitHub ↗
(stream, state)

Source from the content-addressed store, hash-verified

66 return style;
67 }
68 function script(stream, state) {
69 if (stream.match(/^<\/\s*script\s*>/i, false)) {
70 state.token = html;
71 state.localState = state.localMode = null;
72 return null;
73 }
74 return maybeBackup(stream, /<\/\s*script\s*>/,
75 state.localMode.token(stream, state.localState));
76 }
77 function css(stream, state) {
78 if (stream.match(/^<\/\s*style\s*>/i, false)) {
79 state.token = html;

Callers

nothing calls this directly

Calls 1

maybeBackupFunction · 0.70

Tested by

no test coverage detected