diff --git a/packages/cbioportal-clinical-timeline/src/TimelineTrack.tsx b/packages/cbioportal-clinical-timeline/src/TimelineTrack.tsx index 20e06d7569f..f51fc7568f9 100644 --- a/packages/cbioportal-clinical-timeline/src/TimelineTrack.tsx +++ b/packages/cbioportal-clinical-timeline/src/TimelineTrack.tsx @@ -472,21 +472,39 @@ export const EventTooltipContent: React.FunctionComponent<{
- {_.map(attributes, (att: any) => { + {_.map(attributes, (attr: any) => { return ( - +
{att.key.replace(/_/g, ' ')}{attr.key.replace(/_/g, ' ')} ( - - ), + a: ({ node, ...props }) => { + if ( + /:blank$/.test(props.href!) + ) { + return ( + + {props.children} + + ); + } else { + return ( + + ); + } + }, }} > - {att.value} + {attr.value}