(e)
| 1120 | } |
| 1121 | } |
| 1122 | codespan(e) { |
| 1123 | let t = this.rules.inline.code.exec(e); |
| 1124 | if (t) { |
| 1125 | let n = t[2].replace(this.rules.other.newLineCharGlobal, " "), |
| 1126 | s = this.rules.other.nonSpaceChar.test(n), |
| 1127 | i = |
| 1128 | this.rules.other.startingSpaceChar.test(n) && |
| 1129 | this.rules.other.endingSpaceChar.test(n); |
| 1130 | return ( |
| 1131 | s && i && (n = n.substring(1, n.length - 1)), |
| 1132 | { type: "codespan", raw: t[0], text: n } |
| 1133 | ); |
| 1134 | } |
| 1135 | } |
| 1136 | br(e) { |
| 1137 | let t = this.rules.inline.br.exec(e); |
| 1138 | if (t) return { type: "br", raw: t[0] }; |
no test coverage detected