refactor(dom): change variable name

Refs: 58e05c4bfb
This commit is contained in:
dragonish 2025-04-18 13:51:34 +08:00
parent f5ee7f1bc3
commit 63395f12bf
No known key found for this signature in database
GPG key ID: 6F42FA9E807A5177

View file

@ -176,10 +176,10 @@ export function decorateOutlineElement(
/**
* Compare heading text.
*
* @param l The left heading text.
* @param r The right heading text.
* @param source The source heading text.
* @param outline The outline heading text.
* @returns true if the two headings are equal, false otherwise.
*/
export function compareHeadingText(l: string, r: string): boolean {
return compareMarkdownText(htmlToMarkdown(l), htmlToMarkdown(r));
export function compareHeadingText(source: string, outline: string): boolean {
return compareMarkdownText(htmlToMarkdown(source), htmlToMarkdown(outline));
}