Skip to content

Syntax highlighting incorrectly highlights multiline strings #1399

@mistydemeo

Description

@mistydemeo

The cue crate's embedded README includes a Rust code block with a multiline string. Crates.io's syntax highlighting is tripping over it.

It looks like the syntax highlighting is breaking either because of the multiple lines, or because of the escaped quotes on the first line. As you can see in the attached screenshot, the first line highlights the period in example.img, and numbers on all subsequent lines are also coloured.

screen shot 2018-05-20 at 11 38 21 pm

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions