From 5b2cc1735b8343f69bd963ff44baf4fc02fe9554 Mon Sep 17 00:00:00 2001 From: Eric Huss Date: Tue, 4 Nov 2025 14:56:08 -0800 Subject: [PATCH] Add note to changelog about a change in heading ID generation I didn't fully appreciate that this changed in https://github.com/rust-lang/mdBook/pull/2844 which changed how text content was collected from heading tags. --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index dcad3c3d33..856201265c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -58,6 +58,8 @@ The following is a summary of the changes that may require your attention when u [#2847](https://github.com/rust-lang/mdBook/pull/2847) - Added support for admonitions. These are enabled by default, with the option `output.html.admonitions` to disable it. [#2851](https://github.com/rust-lang/mdBook/pull/2851) +- Headers that start or end with HTML characters like `<`, `&`, or `>` now replace those characters in the link ID with `-` instead of being stripped. This brings the header ID generation closer to other tools and sites. + [#2844](https://github.com/rust-lang/mdBook/pull/2844) ### CLI changes