Skip to content

Commit

Permalink
add TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
silverwind committed Mar 20, 2024
1 parent 6689ef6 commit cb2e65d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions web_src/js/markup/anchors.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ export function initMarkupAnchors() {
}

// add `user-content-` prefix to user-generated `a[name]` link targets
// TODO: this prefix should be added in backend instead
for (const a of markupEl.querySelectorAll('a[name]')) {
const name = a.getAttribute('name');
if (!name) continue;
Expand Down

0 comments on commit cb2e65d

Please sign in to comment.