Skip to content

rustdoc should escape <> #18419

Closed
Closed
@tbu-

Description

@tbu-

For an example where this is necessary, see the docs for StrInterner: The generated HTML code looks like this:

<p>A StrInterner differs from Interner<String> in that it accepts &amp;str rather than RcStr, resulting in less allocation.</p>

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-feature-requestCategory: A feature request, i.e: not implemented / a PR.T-dev-toolsRelevant to the dev-tools subteam, which will review and decide on the PR/issue.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions