Add explicit end tag for empty anchor.