Fix anchor_in_excerpt on replaced excerpts (#28880)

Release Notes:

- N/A
7bdde8f14fConrad Irwin committed on 4/16/2025, 6:35:40 PM· committed by GitHubparent7c7f69f
1 file changedLine totals unavailable