Skip to content

Some links are escaped making them unusable #1151

@klonuo

Description

@klonuo

In the markdown provided by hover action, dots and dashes are escaped, making at least links unusable:

{"contents": {"kind": "markdown", "value": "#### GitHub Workflow\n\nSelects an action to run as part of a step in your job\\. An action is a reusable unit of code\\. You can use an action defined in the same repository as the workflow, a public repository, or in a published Docker container image \\(https://hub\\.docker\\.com/\\)\\.\n\nWe strongly recommend that you include the version of the action you are using by specifying a Git ref, SHA, or Docker tag number\\. If you don't specify a version, it could break your workflows or cause unexpected behavior when the action owner publishes an update\\.\n\n\\- Using the commit SHA of a released action version is the safest for stability and security\\.\n\n\\- Using the specific major action version allows you to receive critical fixes and security patches while still maintaining compatibility\\. It also assures that your workflow should still work\\.\n\n\\- Using the master branch of an action may be convenient, but if someone releases a new major version with a breaking change, your workflow could break\\.\n\nSome actions require inputs that you must set using the with keyword\\. Review the action's README file to determine the inputs required\\.\n\nActions are either JavaScript files or Docker containers\\. If the action you're using is a Docker container you must run the job in a Linux virtual environment\\. For more details, see https://help\\.github\\.com/en/articles/virtual\\-environments\\-for\\-github\\-actions\\.\n\nSource: [github-workflow.json](https://www.schemastore.org/github-workflow.json)"}, "range": {"start": {"line": 17, "character": 14}, "end": {"line": 17, "character": 37}}}

Schema is correct: https://www.schemastore.org/github-workflow.json

Steps to Reproduce

Here is sample github workflow for test (for example hover on checkout action on the last line):

name: Daily

on:
  schedule:
    # Runs daily at 10:15 CET (09:15 UTC)
    - cron: '15 9 * * *'
  workflow_dispatch:  # Allow manual triggering

jobs:
  update-data:
    runs-on: ubuntu-latest
    
    steps:
    - name: Checkout repository
      uses: actions/checkout@v4

Initially wrongly issued here: sublimelsp/LSP-yaml#81

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions