mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
cbd97072f4
When an inline code symbol is used as the text of an explicit markdown link (e.g. [`httpResource`](/guide/http/http-resource)), the codespan renderer recognized it as an API symbol and wrapped it in a second anchor pointing at the API reference. This produced nested <a> tags, so the explicit link was effectively replaced by the API symbol link. Disable auto-linking while rendering a link's inner tokens so the explicit href is preserved, matching the pattern already used by the heading and docs-card renderers. Fixes #69549