| 530 | } |
| 531 | |
| 532 | function linkInline(stream, state) { |
| 533 | var ch = stream.next(); |
| 534 | |
| 535 | if (ch === ">") { |
| 536 | state.f = state.inline = inlineNormal; |
| 537 | if (modeCfg.highlightFormatting) state.formatting = "link"; |
| 538 | var type = getType(state); |
| 539 | if (type){ |
| 540 | type += " "; |
| 541 | } else { |
| 542 | type = ""; |
| 543 | } |
| 544 | return type + linkinline; |
| 545 | } |
| 546 | |
| 547 | stream.match(/^[^>]+/, true); |
| 548 | |
| 549 | return linkinline; |
| 550 | } |
| 551 | |
| 552 | function linkHref(stream, state) { |
| 553 | // Check if space, and return NULL if so (to avoid marking the space) |