diff options
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 |
commit | 52afee4c57940696e41332349861782b24b9d7c5 (patch) | |
tree | 75d1ddcf79d034ce5743587ba6cef346fc9ce477 | |
parent | e3d38e8c66e44f47df36ff00e4448386c085f6bb (diff) |
fix reference error typo in replacer.js
-rw-r--r-- | src/util/replacer.js | 2 |
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, |