« 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/dependencies/transformContent.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/content/dependencies/transformContent.js')
-rw-r--r--src/content/dependencies/transformContent.js14
1 files changed, 11 insertions, 3 deletions
diff --git a/src/content/dependencies/transformContent.js b/src/content/dependencies/transformContent.js
index 3c2c3521..b3aa8da0 100644
--- a/src/content/dependencies/transformContent.js
+++ b/src/content/dependencies/transformContent.js
@@ -108,7 +108,11 @@ export const replacerSpec = {
   },
   tag: {
     find: 'artTag',
-    link: 'tag',
+    link: 'artTag',
+  },
+  'tag-info': {
+    find: 'artTag',
+    link: 'artTagInfo',
   },
   track: {
     find: 'track',
@@ -122,6 +126,8 @@ const linkThingRelationMap = {
   albumGallery: 'linkAlbumGallery',
   artist: 'linkArtist',
   artistGallery: 'linkArtistGallery',
+  artTag: 'linkArtTagDynamically',
+  artTagInfo: 'linkArtTagInfo',
   flash: 'linkFlash',
   flashAct: 'linkFlashAct',
   groupInfo: 'linkGroup',
@@ -129,7 +135,6 @@ const linkThingRelationMap = {
   listing: 'linkListing',
   newsEntry: 'linkNewsEntry',
   staticPage: 'linkStaticPage',
-  tag: 'linkArtTag',
   track: 'linkTrack',
 };
 
@@ -450,7 +455,10 @@ export default {
     // In inline mode, no further processing is needed!
 
     if (slots.mode === 'inline') {
-      return html.tags(contentFromNodes.map(node => node.data));
+      return (
+        html.tags(
+          contentFromNodes.map(node => node.data),
+          {[html.joinChildren]: ''}));
     }
 
     // Multiline mode has a secondary processing stage where it's passed...