Skip to content

Commit

Permalink
fix(flaws): re-add href to broken links as data (#12131)
Browse files Browse the repository at this point in the history
  • Loading branch information
fiji-flo authored Nov 19, 2024
1 parent 50e85ec commit 052dae6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build/flaws/broken-links.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,9 @@ function mutateLink(
"summary"
);
$element.attr("title", titleWhenMissing);
const href = $element.attr("href");
$element.attr("href", null);
$element.attr("data-href", href);
}
}

Expand Down

0 comments on commit 052dae6

Please sign in to comment.