diff options
| author | (quasar) nebula <qznebula@protonmail.com> | 2024-04-03 09:15:26 -0300 | 
|---|---|---|
| committer | (quasar) nebula <qznebula@protonmail.com> | 2024-04-03 09:15:40 -0300 | 
| commit | c730fce11ed3cd57cca6b5290bb83adeb6100dde (patch) | |
| tree | 5fdcc989355513576108038df3919fcd773314e8 | |
| parent | 28c2b923775d440eb8606a824651236bfae0b0cf (diff) | |
content: linkExternalAsIcon: update blank style detection
| -rw-r--r-- | src/content/dependencies/linkExternalAsIcon.js | 4 | 
1 files changed, 3 insertions, 1 deletions
| 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)), ]); }, }; | 
