Fix HTML conformance.

Somehow "interactive" content isn't allowed within an anchor.
Interesting, probably because otherwise event-handling would be a bit
awkward for those elements.