Skip to content

Excessive escaping of asterisk #3837

@IvanGoncharov

Description

@IvanGoncharov

It was extracted from #3836


Prettier 1.10.2
Playground link

--parser markdown

Input:

5 * 10
a * b * c

Output:

5 _ 10
a _ b \* c

Expected behavior:

5 * 10
a * b * c

Metadata

Metadata

Assignees

No one assigned

    Labels

    lang:markdownIssues affecting Markdownpriority:highCode is printed in a way that alters the AST, breaks syntax, or is a significant regression. Urgent!scope:dependencyIssues that cannot be solved inside Prettier itself, and must be fixed in a dependency

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions