From d92961be05941cd63e31ba67bcc627293d501f5f Mon Sep 17 00:00:00 2001 From: Daniel Bachler Date: Thu, 21 Sep 2023 19:05:42 +0200 Subject: [PATCH] :sparkles: render citationFull on sourcesTab as markdown --- .../grapher/src/sourcesTab/SourcesTab.tsx | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/packages/@ourworldindata/grapher/src/sourcesTab/SourcesTab.tsx b/packages/@ourworldindata/grapher/src/sourcesTab/SourcesTab.tsx index ddb13f2b8f2..e740a01958a 100644 --- a/packages/@ourworldindata/grapher/src/sourcesTab/SourcesTab.tsx +++ b/packages/@ourworldindata/grapher/src/sourcesTab/SourcesTab.tsx @@ -154,7 +154,12 @@ export class SourcesTab extends React.Component<{ {citationFull.length === 1 ? ( Data published by - {citationFull[0]} + + + ) : null} {citationFull.length > 1 ? ( @@ -164,10 +169,15 @@ export class SourcesTab extends React.Component<{