diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2024-03-01 07:50:19 -0400 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2024-03-31 19:19:07 -0300 |
commit | ae3fac05e0d2ae6c654e2d23b66a9c63709a4f94 (patch) | |
tree | 6c8f515328da872ba7d01de9cc4fb355731d80db /src/content | |
parent | b4a50b6bd41c35119572834ae39bc9f36eb5361c (diff) |
content, css, test: tweak external link white-space handling
Diffstat (limited to 'src/content')
-rw-r--r-- | src/content/dependencies/linkExternal.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/content/dependencies/linkExternal.js b/src/content/dependencies/linkExternal.js index 2de1bc70..7a97762c 100644 --- a/src/content/dependencies/linkExternal.js +++ b/src/content/dependencies/linkExternal.js @@ -51,8 +51,8 @@ export default { }); } + linkAttributes.set('class', 'external-link'); linkAttributes.set('href', data.url); - linkAttributes.set('class', 'nowrap'); if (slots.tab === 'separate') { linkAttributes.set('target', '_blank'); |