« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/content
diff options
context:
space:
mode:
Diffstat (limited to 'src/content')
-rw-r--r--src/content/dependencies/linkExternal.js2
1 files changed, 1 insertions, 1 deletions
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',