Skip to content

Backtick after URL in error message linkified on GitHub Actions workflow logs #51

@karlhorky

Description

@karlhorky

Initial checklist

Affected packages and versions

[email protected]

Link to runnable example

No response

Steps to reproduce

  1. Run remark-lint-no-dead-urls on GitHub Actions and click on a failing link in the output
  2. 💥 The link includes the backtick, encoded as %60, likely leading to confusion

You can see it here, the backtick is also underlined and has a gray color:

Screenshot 2024-09-27 at 19 13 57

Screenshot 2024-09-27 at 19 13 50

As text:

17:124-17:180    warning Unexpected dead URL `https://trekhleb.dev/js-image-carver/`, expected live URL                                                                                                                                                                                                                        no-dead-urls remark-lint
  [cause]:
                 error   Unexpected error fetching `https://trekhleb.dev/js-image-carver/`                                                                                                                                                                                                                                     fetch        dead-or-alive
  [cause]:
    TimeoutError: The operation was aborted due to timeout

Expected behavior

Links do not include extra suffix or prefix characters which will be linkified by GitHub

Actual behavior

Links include the extra suffix backtick character which will be linkified by GitHub

Runtime

No response

Package manager

No response

OS

No response

Build and bundle tools

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    👎 phase/noPost cannot or will not be acted on🙅 no/wontfixThis is not (enough of) an issue for this project

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions