diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2024-03-26 09:36:36 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2024-03-26 09:37:12 -0300 |
commit | 3fb5231731e038325fb6e094e36afac4a400ddcc (patch) | |
tree | 1e0ac5aed0c239f8fa0b2e678d6f6bc9b076c43d /src/content | |
parent | b4e1d5ad1eb290c615c9ff39f8c3cc82373e36fe (diff) |
content: generateAdditionalNamesBoxItem: use chunkwrap in accent
Diffstat (limited to 'src/content')
-rw-r--r-- | src/content/dependencies/generateAdditionalNamesBoxItem.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/content/dependencies/generateAdditionalNamesBoxItem.js b/src/content/dependencies/generateAdditionalNamesBoxItem.js index 189550c2..7515b5b0 100644 --- a/src/content/dependencies/generateAdditionalNamesBoxItem.js +++ b/src/content/dependencies/generateAdditionalNamesBoxItem.js @@ -61,7 +61,9 @@ export default { itemParts.push('withAccent'); itemOptions.accent = html.tag('span', {class: 'accent'}, - language.$(...accentParts, accentOptions)); + html.metatag('chunkwrap', {split: ','}, + html.resolve( + language.$(...accentParts, accentOptions)))); } return language.$(...itemParts, itemOptions); |