: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
return state.indentToken;
} else if (stream.sol()) {
state.indentOf = Infinity;
state.indentToken = null;
function restOfLine(stream, state) {
// if restOfLine was set at end of line, ignore it
var tok = state.restOfLine;
function copyState(state) {
* Get the next token in the stream
function nextToken(stream, state) {
var tok = innerMode(stream, state)
|| restOfLine(stream, state)
|| interpolationContinued(stream, state)
|| includeFilteredContinued(stream, state)
|| eachContinued(stream, state)
|| attrsContinued(stream, state)
|| javaScript(stream, state)
|| javaScriptArguments(stream, state)
|| callArguments(stream, state)
|| yieldStatement(stream, state)
|| doctype(stream, state)
|| interpolation(stream, state)
|| caseStatement(stream, state)
|| defaultStatement(stream, state)
|| extendsStatement(stream, state)
|| prepend(stream, state)
|| include(stream, state)
|| includeFiltered(stream, state)
|| conditional(stream, state)
|| whileStatement(stream, state)
|| className(stream, state)
|| attributesBlock(stream, state)
|| comment(stream, state)
return tok === true ? null : tok;
}, 'javascript', 'css', 'htmlmixed');
CodeMirror.defineMIME('text/x-pug', 'pug');
CodeMirror.defineMIME('text/x-jade', 'pug');