Skip to content

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

Closed
@Nemo157

Description

@Nemo157

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions