Handle unexpected link end tokens (wikitext, de1f703)

In this case we want to just emit them literally. We only test a couple of basic scopes here. There are other cases that are known to fail at the moment (EM, for example), so specs for those and fixes will come in another commit.

Signed-off-by: Greg Hurrell <greg@hurrell.net>

← More specs for unexpected link end tokens (wikitext, 584f03a)
Add specs for link tokens inside nowiki spans (wikitext, 3fb39a2) →

All snippets