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

Function attrValueState

static/editor.md/lib/codemirror/mode/xml/xml.js:287–292  ·  view source on GitHub ↗
(type, stream, state)

Source from the content-addressed store, hash-verified

285 return attrState(type, stream, state);
286 }
287 function attrValueState(type, stream, state) {
288 if (type == "string") return attrContinuedState;
289 if (type == "word" && Kludges.allowUnquoted) {setStyle = "string"; return attrState;}
290 setStyle = "error";
291 return attrState(type, stream, state);
292 }
293 function attrContinuedState(type, stream, state) {
294 if (type == "string") return attrContinuedState;
295 return attrState(type, stream, state);

Callers

nothing calls this directly

Calls 1

attrStateFunction · 0.85

Tested by

no test coverage detected