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

Links are inserted when copy/pasting action build logs and code with embedded links #49

Open
xt0rted opened this issue Apr 11, 2022 · 2 comments

Comments

@xt0rted
Copy link

xt0rted commented Apr 11, 2022

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/[email protected]
        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]
@imjohnbo
Copy link
Contributor

👋 Hi @xt0rted, thanks for the report. Can you try a plaintext copy with + Shift + V (Mac) or Ctrl + Shift + V (Windows/Linux)?

@xt0rted
Copy link
Author

xt0rted commented Apr 13, 2022

Pasting as plain text works fine. Had no idea that was a feature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants