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

Function inAttribute

static/editor.md/lib/codemirror/mode/xml/xml.js:138–150  ·  view source on GitHub ↗
(quote)

Source from the content-addressed store, hash-verified

136 }
137
138 function inAttribute(quote) {
139 var closure = function(stream, state) {
140 while (!stream.eol()) {
141 if (stream.next() == quote) {
142 state.tokenize = inTag;
143 break;
144 }
145 }
146 return "string";
147 };
148 closure.isInAttribute = true;
149 return closure;
150 }
151
152 function inBlock(style, terminator) {
153 return function(stream, state) {

Callers 1

inTagFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected