| 90 | // Blocks |
| 91 | |
| 92 | function blankLine(state) { |
| 93 | // Reset linkTitle state |
| 94 | state.linkTitle = false; |
| 95 | // Reset EM state |
| 96 | state.em = false; |
| 97 | // Reset STRONG state |
| 98 | state.strong = false; |
| 99 | // Reset strikethrough state |
| 100 | state.strikethrough = false; |
| 101 | // Reset state.quote |
| 102 | state.quote = 0; |
| 103 | if (!htmlFound && state.f == htmlBlock) { |
| 104 | state.f = inlineNormal; |
| 105 | state.block = blockNormal; |
| 106 | } |
| 107 | // Reset state.trailingSpace |
| 108 | state.trailingSpace = 0; |
| 109 | state.trailingSpaceNewLine = false; |
| 110 | // Mark this line as blank |
| 111 | state.thisLineHasContent = false; |
| 112 | return null; |
| 113 | } |
| 114 | |
| 115 | function blockNormal(stream, state) { |
| 116 | |