Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Markdown italicized links ending changed to "\_" #14141

Closed
whyboris opened this issue Jan 8, 2023 · 1 comment
Closed

Markdown italicized links ending changed to "\_" #14141

whyboris opened this issue Jan 8, 2023 · 1 comment
Labels
locked-due-to-inactivity Please open a new issue and fill out the template instead of commenting. type:duplicate Issues that are a duplicate of a previous issue

Comments

@whyboris
Copy link

whyboris commented Jan 8, 2023

Prettier 2.8.2
Playground link

prettier --write .

Input:

Peter Singer (1975). _[Animal Liberation](<https://en.wikipedia.org/wiki/Animal_Liberation_(book)>)_.
Peter Singer (1975). _[Animal Liberation](https://en.wikipedia.org/wiki/Animal_Liberation_(book))_.

Output:

Peter Singer (1975). _[Animal Liberation](<https://en.wikipedia.org/wiki/Animal_Liberation_(book)>)\_.
Peter Singer (1975). _[Animal Liberation](https://en.wikipedia.org/wiki/Animal_Liberation_(book))\_.

Notice the \ before the closing _ -- should just be _ instead of \_

Problem persists even when I remove the < & > around the link.

Expected behavior:

no change to input

Peter Singer (1975). _[Animal Liberation](<https://en.wikipedia.org/wiki/Animal_Liberation_(book)>)_.
@thorn0
Copy link
Member

thorn0 commented Jan 12, 2023

Duplicate of #6112

@thorn0 thorn0 marked this as a duplicate of #6112 Jan 12, 2023
@github-actions github-actions bot added the type:duplicate Issues that are a duplicate of a previous issue label Jan 12, 2023
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Jan 12, 2023
@github-actions github-actions bot added the locked-due-to-inactivity Please open a new issue and fill out the template instead of commenting. label Nov 27, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 27, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
locked-due-to-inactivity Please open a new issue and fill out the template instead of commenting. type:duplicate Issues that are a duplicate of a previous issue
Projects
None yet
Development

No branches or pull requests

2 participants