Skip to content

Incorrect underscore handling after --- for em-dash #624

@codingthat

Description

@codingthat

An underscore-wrapped phrase immediately after a --- renders plainly instead of in italics.

E.g. it---by design---_cannot have side-effects_. renders like this:

image

But if you replace the latter --- with —, it works as intended.

So it---by design—_cannot have side-effects_. renders like this:

image

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions