(stream, state)
| 330 | } |
| 331 | |
| 332 | function linkHref(stream, state) { |
| 333 | // Check if space, and return NULL if so (to avoid marking the space) |
| 334 | if(stream.eatSpace()){ |
| 335 | return null; |
| 336 | } |
| 337 | var ch = stream.next(); |
| 338 | if (ch === '(' || ch === '[') { |
| 339 | return switchInline(stream, state, inlineElement(linkhref, ch === '(' ? ')' : ']')); |
| 340 | } |
| 341 | return 'error'; |
| 342 | } |
| 343 | |
| 344 | function footnoteLink(stream, state) { |
| 345 | if (stream.match(/^[^\]]*\]:/, true)) { |
nothing calls this directly
no test coverage detected