Links are inserted when copy/pasting action build logs and code with embedded links
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 38/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- javascript
- Domain
- frontend
Research direction
Reproduce the issue by copying workflow code and an Actions build-log snippet, then trace the JavaScript paste and clipboard-handling entry points responsible for converting linked text. Compare the pasted output with the plain-text examples in the report; done means copied code and log text no longer gain embedded Markdown links or altered characters.
Written by the indexing model from the issue text.
Description
I was just trying to copy text out of an actions workflow, specifically these lines. Since I'm using OctoLinker the action name is linkified and the text that gets pasted into an issue shows up as:
- name: Set up .NET
uses: https://github.com/actions/setup-dotnet/tree/v2.0.0v2.0.0
with:
dotnet-version: |
3.1.417
5.0.406
6.0.201
instead of
- name: Set up .NET
uses: actions/setup-dotnet@v2.0.0
with:
dotnet-version: |
3.1.417
5.0.406
6.0.201
Similarly I tried to copy text out of an Actions build log and that's also pasting incorrectly. OctoLinker doesn't run on these pages so the issue isn't related to that like the above one kind of is.
.NET SDKs installed:
3.1.120 [/usr/share/dotnet/sdk]
3.1.202 [/usr/share/dotnet/sdk]
3.1.[30](https://github.com/xt0rted-test/setup-dotnet-test/runs/5973292245?check_suite_focus=true#step:2:30)2 [/usr/share/dotnet/sdk]
3.1.417 [/usr/share/dotnet/sdk]
5.0.104 [/usr/share/dotnet/sdk]
5.0.212 [/usr/share/dotnet/sdk]
5.0.303 [/usr/share/dotnet/sdk]
5.0.406 [/usr/share/dotnet/sdk]
6.0.201 [/usr/share/dotnet/sdk]
In this example the 4th line should actually be:
3.1.302 [/usr/share/dotnet/sdk]
- Dominant language
- JavaScript
- Stars
- 234
- Forks
- 47
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 5
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from github/paste-markdown
-
Pasting a link whose text/html label is a shortened form of its URL plants a `[` inside the URL Open
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
github/paste-markdown#118 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
github/paste-markdown#107 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
github/paste-markdown#104 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
github/paste-markdown#100 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 48/100
github/paste-markdown#96 · 1 comment ·
All issues in github/paste-markdown
Similar issues
-
ai-observability bug team/ai-observability
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
AllTheMods/ATM-10-L#19 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
SignalK/n2k-signalk#345 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
Difficulty 1/5 1-3 hours Newbie friendliness 88/100
JuliaPluto/PlutoPlotly.jl#72 ·