Skip to content

Code in chapter headers can result in invalid html elements in ToC #1372

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Nemo157 opened this issue Nov 4, 2020 · 2 comments
Closed

Code in chapter headers can result in invalid html elements in ToC #1372

Nemo157 opened this issue Nov 4, 2020 · 2 comments

Comments

@Nemo157
Copy link
Member

Nemo157 commented Nov 4, 2020

In the Rust Book chapter 15.1 it has the header

## Using `Box<T>` to Point to Data on the Heap

This is rendered into the table of contents as

<a href="ch15-01-box.html"><strong aria-hidden="true">15.1.</strong> Using Box<T> to Point to Data on the Heap</a>

Resulting in the <T> not being rendered as it is interpreted as an HTML element.

@ehuss
Copy link
Contributor

ehuss commented Nov 10, 2020

This should be fixed via #1376.

@ehuss ehuss closed this as completed Nov 10, 2020
@dtolnay
Copy link
Member

dtolnay commented Nov 10, 2020

Confirmed fixed.

Screenshot from 2020-11-10 14-56-26

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants