Skip to content

Commit

Permalink
use updated function name
Browse files Browse the repository at this point in the history
  • Loading branch information
ignatiusmb authored Jan 19, 2024
1 parent 676baf3 commit 056ad4f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions workspace/marqua/src/core/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { generate } from '../utils.js';
import { uhi } from '../utils.js';

/** @param {string} source */
export function parse(source) {
Expand Down Expand Up @@ -37,7 +37,7 @@ export function parse(source) {
const [delimited] = title.match(/\$\(.*?\)/) || [''];

table.push({
id: generate.id(delimited.slice(2, -1) || title),
id: uhi(delimited.slice(2, -1) || title),
title: title.replace(delimited, delimited.slice(2, -1)),
level: hashes.length,
});
Expand Down

0 comments on commit 056ad4f

Please sign in to comment.