Skip to content

rustdoc: "Deprecated" messages are not escaped properly #22575

Closed
@RalfJung

Description

@RalfJung

Quoting from http://doc.rust-lang.org/std/marker/index.html:

<a class='stability Deprecated' title='Deprecated: Replace with `PhantomData<&'a ()>`'></a>

The quote within the title needs to be escaped. Currently, it renders incorrectly in Firefox (and probably other browsers, too).

Metadata

Metadata

Assignees

No one assigned

    Labels

    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