« get me outta code hell

replacer: parseInput -> parseContentNodes - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/data/yaml.js
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2025-05-02 10:19:43 -0300
committer(quasar) nebula <qznebula@protonmail.com>2025-05-06 12:29:07 -0300
commitfd2658db8ba707577488b89be84ccaa4a8e9c607 (patch)
tree970cd76f9b57f9d9dfeebd404a76d2816c1893dc /src/data/yaml.js
parent2616ee8b666b0449131a45beafbbe69d152c563f (diff)
replacer: parseInput -> parseContentNodes
Diffstat (limited to 'src/data/yaml.js')
-rw-r--r--src/data/yaml.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/data/yaml.js b/src/data/yaml.js
index f3f422f7..79d71ebf 100644
--- a/src/data/yaml.js
+++ b/src/data/yaml.js
@@ -8,7 +8,7 @@ import {inspect as nodeInspect} from 'node:util';
 import yaml from 'js-yaml';
 
 import {colors, ENABLE_COLOR, logInfo, logWarn} from '#cli';
-import {parseInput, splitContentNodesAround} from '#replacer';
+import {parseContentNodes, splitContentNodesAround} from '#replacer';
 import {sortByName} from '#sort';
 import Thing from '#thing';
 import thingConstructors from '#things';
@@ -835,7 +835,7 @@ export function parseContentEntries(thingClass, sourceText, {subdoc}) {
     const artistTextNodes =
       Array.from(
         splitContentNodesAround(
-          parseInput(matchEntry.artistText),
+          parseContentNodes(matchEntry.artistText),
           /\|/g));
 
     const separatorIndices =