From c730fce11ed3cd57cca6b5290bb83adeb6100dde Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Wed, 3 Apr 2024 09:15:26 -0300 Subject: content: linkExternalAsIcon: update blank style detection --- src/content/dependencies/linkExternalAsIcon.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/content') diff --git a/src/content/dependencies/linkExternalAsIcon.js b/src/content/dependencies/linkExternalAsIcon.js index c363ad90..6f37529e 100644 --- a/src/content/dependencies/linkExternalAsIcon.js +++ b/src/content/dependencies/linkExternalAsIcon.js @@ -43,7 +43,9 @@ export default { slots.withText && html.tag('span', {class: 'icon-text'}, - handleText ?? platformText), + (html.isBlank(handleText) + ? platformText + : handleText)), ]); }, }; -- cgit 1.3.0-6-gf8a5