« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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,