GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Unstable autolink format after #8630 · Issue #8654 · prettier/prettier

Unstable autolink format after #8630 #8654

New issue
Copy link
New issue
Copy link
Open
Bug
#20128
Open
Unstable autolink format after #8630#8654
Bug
#20128
Copy link
Labels
lang:markdownIssues affecting Markdown

Description

@fisker
fisker
opened on Jun 28, 2020
Issue body actions

Prettier pr-8140
Playground link

--parser markdown

Input:

*_http://www.example.com:80/_a_*

Output:

__http://www.example.com:80/_a__

Second Output:

**http://www.example.com:80/_a**

Expected behavior:

Should be stable

More failed tests

prettier/tests/markdown/auto-link/jsfmt.spec.js

Lines 30 to 68 in 554b154

// (url) => `__${url}__`,
// (url) => `**${url}**`,
// (url) => `*_${url}_*`,
// (url) => `_*${url}*_`,
// (url) => `*_${url}*_`,
// (url) => `_*${url}_*`,
(url) => `_ ${url}_`,
(url) => `* ${url}*`,
(url) => `_ ${url}*`,
(url) => `* ${url}_`,
// (url) => `__ ${url}__`,
// (url) => `** ${url}**`,
// (url) => `*_ ${url}_*`,
// (url) => `_* ${url}*_`,
// (url) => `*_ ${url}*_`,
// (url) => `_* ${url}_*`,
(url) => `_${url} _`,
(url) => `*${url} *`,
(url) => `_${url} *`,
(url) => `*${url} _`,
// (url) => `__${url} __`,
// (url) => `**${url} **`,
// (url) => `*_${url} _*`,
// (url) => `_*${url} *_`,
// (url) => `*_${url} *_`,
// (url) => `_*${url} _*`,
(url) => `_ ${url} _`,
(url) => `* ${url} *`,
(url) => `_ ${url} *`,
(url) => `* ${url} _`,
// (url) => `__ ${url} __`,
// (url) => `** ${url} **`,
// (url) => `*_ ${url} _*`,
// (url) => `_* ${url} *_`,
// (url) => `*_ ${url} *_`,
// (url) => `_* ${url} _*`,

https://github.com/prettier/prettier/runs/730525149#step:6:3911

Activity

  1. fisker
    added
    type:bug
    lang:markdownIssues affecting Markdown
    on Jun 28, 2020
  2. fisker
    added the
    Bug
    issue type on Mar 3, 2025
  3. fisker
    removed
    type:bug
    on Mar 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    lang:markdownIssues affecting Markdown

    Type

    Bug

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402792 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.