From badf0e751a24c55c0c5b7e13674ca71aa0287664 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Sun, 31 Mar 2024 19:06:32 -0300 Subject: language: return html.blank() from formatExternalLink --- src/content/dependencies/linkExternal.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/content') diff --git a/src/content/dependencies/linkExternal.js b/src/content/dependencies/linkExternal.js index f0947cb7..afdfe6ef 100644 --- a/src/content/dependencies/linkExternal.js +++ b/src/content/dependencies/linkExternal.js @@ -33,7 +33,7 @@ export default { }); // Fall back to platform if nothing matched the desired style. - if (!formattedText && slots.style !== 'platform') { + if (html.isBlank(formattedText) && slots.style !== 'platform') { formattedText = language.formatExternalLink(data.url, { style: 'platform', -- cgit 1.3.0-6-gf8a5