From a877de9916b7df4379c05773edc10a5c1357b49f Mon Sep 17 00:00:00 2001 From: Gorka Date: Fri, 26 Apr 2019 14:31:31 +0200 Subject: [PATCH] AppContent: override links with SafeLinks in markdown --- src/apps/AppCenter/InstalledApps/AppContent.js | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/apps/AppCenter/InstalledApps/AppContent.js b/src/apps/AppCenter/InstalledApps/AppContent.js index 23556f1d1..ac3f2fc6f 100644 --- a/src/apps/AppCenter/InstalledApps/AppContent.js +++ b/src/apps/AppCenter/InstalledApps/AppContent.js @@ -154,7 +154,15 @@ const AppContent = React.memo(({ repo, repoVersions, onRequestUpgrade }) => { { remark() - .use(remark2react) + .use(remark2react, { + remarkReactComponents: { + a: ({ children, ...props }) => ( + + {children} + + ), + }, + }) .processSync(repoDetails).contents }