Links are inserted when copy/pasting action build logs and code with embedded links
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 38/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- javascript
- 领域
- frontend
调研方向
通过复制工作流代码和一段 Actions build-log 来复现该问题,然后跟踪负责转换带链接文本的 JavaScript 粘贴和剪贴板处理入口。完成的标准是,复制的代码和日志文本不再获得嵌入的 Markdown 链接或被修改的字符。
由索引模型根据 Issue 内容生成。
描述
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]
- 主要语言
- JavaScript
- 星标
- 234
- 派生
- 47
- 平均合并
- 1 天 12 小时
- 30 天内合并 PR
- 5
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
github/paste-markdown 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 75/100
github/paste-markdown#118 ·
-
难度 2/5 1-3 小时 新手友好度 68/100
github/paste-markdown#107 ·
-
难度 2/5 1-3 小时 新手友好度 45/100
github/paste-markdown#104 ·
-
难度 3/5 1-2 天 新手友好度 35/100
github/paste-markdown#100 ·
-
难度 3/5 1-2 天 新手友好度 48/100
github/paste-markdown#96 · 1 条评论 ·
查看 github/paste-markdown 的全部 Issue
相似的 Issue
-
documentation
难度 2/5 1-3 小时 新手友好度 88/100
githubnext/gh-aw-workshop#3692 ·
-
agent/guide documentation hive/hosted-available-lke648397-260827-5n31
难度 2/5 1-3 小时 新手友好度 90/100
-
Add: BuyPass TV 未关闭channels:add check:passed
难度 2/5 1-3 小时 新手友好度 75/100
-
S: triage
难度 1/5 1 小时以内 新手友好度 85/100
-
难度 1/5 1 小时以内 新手友好度 78/100