From 52afee4c57940696e41332349861782b24b9d7c5 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Fri, 18 Aug 2023 15:07:54 -0300 Subject: fix reference error typo in replacer.js --- src/util/replacer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- cgit 1.3.0-6-gf8a5