| 282 | } |
| 283 | |
| 284 | function htmlBlock(stream, state) { |
| 285 | var style = htmlMode.token(stream, state.htmlState); |
| 286 | if (!htmlModeMissing) { |
| 287 | var inner = CodeMirror.innerMode(htmlMode, state.htmlState) |
| 288 | if ((inner.mode.name == "xml" && inner.state.tagStart === null && |
| 289 | (!inner.state.context && inner.state.tokenize.isInText)) || |
| 290 | (state.md_inside && stream.current().indexOf(">") > -1)) { |
| 291 | state.f = inlineNormal; |
| 292 | state.block = blockNormal; |
| 293 | state.htmlState = null; |
| 294 | } |
| 295 | } |
| 296 | return style; |
| 297 | } |
| 298 | |
| 299 | function local(stream, state) { |
| 300 | var currListInd = state.listStack[state.listStack.length - 1] || 0; |