Skip to content

Commit

Permalink
Remove unused function markNodesAsTargeted in HtmlAttrResolver
Browse files Browse the repository at this point in the history
  • Loading branch information
Trinovantes committed Jul 4, 2024
1 parent bcf2f03 commit ef6ecac
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/Parser/Resolver/HtmlAttrResolver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,6 @@ export class HtmlAttrResolver {
this._nodesNeedIdAttr.add(node)
}

markNodesAsTargeted(nodes: ReadonlyArray<RstNode>) {
for (const node of nodes) {
this.markNodeAsTargeted(node)
}
}

hasForcedHtmlId(node: RstNode): boolean {
return this._nodesNeedIdAttr.has(node)
}
Expand Down

0 comments on commit ef6ecac

Please sign in to comment.