code: function(context, options) {
      if (!context) return '';
      var types_raw = context.split('|');
      var types_linked = options.fn(this).split('|');
  
      return types_raw.map(function(type, i) {
        if (/\[\]/.test(type)) {
          if (/<\/a>/.test(types_linked[i])) {
            return types_linked[i].replace('</a>', '[]</a>');
          } else {
            return types_linked[i].trim() + '[]';
          }
        } else {
          return types_linked[i];
        }
      }).join(' | ');
    }
docs: Hack for:
  https://github.com/yui/yuidoc/issues/198
  
  Usage:
  {{#crossLinkWrapper type}}{{#crossLink type}}{{/crossLink}}{{/crossLinkWrapper}}