mirror of
https://github.com/renovatebot/renovate.git
synced 2026-11-08 21:22:38 +00:00
fed1eb1066
The `#(\d+)` -> `!$1` replacement added in #42758 over-matched any `#` followed by digits, corrupting HTML entities such as `​` (becomes `&!8203;`) and changelog URL anchors such as `CHANGELOG.md#4780` (becomes `!4780`) in Azure DevOps PR bodies. Only convert a standalone reference preceded by start-of-string, whitespace or `(`, matching the boundary already used in util/markdown.ts.