Skip to content

Rustdoc search results ignore markdown formatting #32040

Closed
@cmbrandenburg

Description

@cmbrandenburg

Using Rust 1.7, a rustdoc search result shown in the browser (as a consequence of pressing the S key and entering a search term) displays raw Markdown, not formatted text. For example, take the standard library documentation, press S, then enter the search term trait: Neg, and the search result will show this text verbatim:

The `Neg` trait is used to specify the functionality of unary `-`.

Whereas, it should be formatted—i.e., no backticks.

Metadata

Metadata

Assignees

Labels

C-bugCategory: This is a bug.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