« get me outta code hell

fix reference error typo in replacer.js - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/util
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2023-08-18 15:07:54 -0300
committer(quasar) nebula <qznebula@protonmail.com>2023-08-18 15:07:54 -0300
commit52afee4c57940696e41332349861782b24b9d7c5 (patch)
tree75d1ddcf79d034ce5743587ba6cef346fc9ce477 /src/util
parente3d38e8c66e44f47df36ff00e4448386c085f6bb (diff)
fix reference error typo in replacer.js
Diffstat (limited to 'src/util')
-rw-r--r--src/util/replacer.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/replacer.js b/src/util/replacer.js
index 028cd3ba..278ffab5 100644
--- a/src/util/replacer.js
+++ b/src/util/replacer.js
@@ -381,7 +381,7 @@ export function postprocessHeadings(inputNodes) {
       textContent += node.data.slice(parseFrom, match.index);
       parseFrom = match.index + match[0].length;
 
-      const attributes = html.attributes(parseAttributes(match[1]));
+      const attributes = html.parseAttributes(match[1]);
       attributes.push('class', 'content-heading');
 
       // We're only modifying the opening tag here. The remaining content,