From c7021046af2ac66aaef8db3841192da8a254d304 Mon Sep 17 00:00:00 2001 From: Frank Weigel Date: Thu, 7 Nov 2019 14:56:25 +0100 Subject: [PATCH] [FIX] JSDoc: Use the rel="noopener" attribute for external links. (#361) --- lib/processors/jsdoc/lib/transformApiJson.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/processors/jsdoc/lib/transformApiJson.js b/lib/processors/jsdoc/lib/transformApiJson.js index 84823f6e7..7071d4c08 100644 --- a/lib/processors/jsdoc/lib/transformApiJson.js +++ b/lib/processors/jsdoc/lib/transformApiJson.js @@ -1263,7 +1263,7 @@ function transformer(sInputFile, sOutputFile, sLibraryFile, vDependencyAPIFiles, // Check if the external domain is SAP hosted let bSAPHosted = /^https?:\/\/(?:www.)?[\w.]*(?:sap|hana\.ondemand|sapfioritrial)\.com/.test(sTarget); - return `${sText} + return `${sText} `; },