The Book search highlighting breaks code segments

I've got no idea where to report this, but when searching The Cargo book for a string, I've found that the website's highlighting conflicts with inline code segments if highlighted string is at the end of the code segment
https://doc.rust-lang.org/cargo/reference/unstable.html?highlight=profile#config-profiles


Same thing happens with The Rust Programming Language, and, I believe, any other book. Is this reported? If not, where should I do this?

Both these books use mdBook, so that repo is the right place to report the issue. Thanks!

1 Like