Image example:
This appears to be an intentional change in GitHub's markdown renderer. As such, we'll have to remove the self-referencing link. Since we use #<pr-number> to automatically link and populate the PR title of a node in a stack graph, we'll need to enrich the node's data schema with the PR title and conditionally render either the title or #<pr-number> depending on whether the node is the current node or a child/parent.
Alternatively we can simply render the current node as "Current PR" as a temporary fix. This runs the problem if being a little confusing for single stacked PRs as it would look something like this: