The output for "Media link with nasty text\nfixme: doBlockLevels won't wrap this in a paragraph because it contains a div" has a <div> inside a <a>-tag. All looks good, except when the HTML is parsed back, the DOM breaks up.
See this session output:
```
[subbu@earth tests] echo "[[Foo|<div>boo</div>]]" | node parse --normalize
<p><a href="Foo" title="Foo">
<div>boo</div>
</a></p>
[subbu@earth tests] node
> var DU = require('../lib/mediawiki.DOMUtils.js').DOMUtils
undefined
> DU.parseHTML('<p><a href="Foo" title="Foo">\n<div>boo</div>\n</a></p>').outerHTML
'<html><head></head><body><p><a href="Foo" title="Foo">\n</a></p><div><a href="Foo" title="Foo">boo</a></div><a href="Foo" title="Foo">\n</a><p></p></body></html>'
```
So, we need to figure out what to emit for this kind of wikitext and whether this is domino-specific or breaks in all browsers.