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

Improve HTML a and img clipping #11485

Closed
TCOTC opened this issue May 20, 2024 · 1 comment
Closed

Improve HTML a and img clipping #11485

TCOTC opened this issue May 20, 2024 · 1 comment
Assignees
Milestone

Comments

@TCOTC
Copy link
Contributor

TCOTC commented May 20, 2024

改进链接和图片元素粘贴和剪藏

In what scenarios do you need this feature?

网页:https://github.com/pyload/pyload

<div class="markdown-heading" dir="auto"><h4 align="center" tabindex="-1" class="heading-element" dir="auto">
  <a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/ea9748c960271146d31e98ffdfd905bc41b2f61f8b6db457ff418980d0f862a9/68747470733a2f2f696d672e736869656c64732e696f2f707970692f7374617475732f70796c6f61642d6e673f7374796c653d666c61742d737175617265"><img alt="status" src="https://camo.githubusercontent.com/ea9748c960271146d31e98ffdfd905bc41b2f61f8b6db457ff418980d0f862a9/68747470733a2f2f696d672e736869656c64732e696f2f707970692f7374617475732f70796c6f61642d6e673f7374796c653d666c61742d737175617265" data-canonical-src="https://img.shields.io/pypi/status/pyload-ng?style=flat-square" style="max-width: 100%;"></a>
  <a href="https://github.com/pyload/pyload/actions">
    <img alt="build" src="https://camo.githubusercontent.com/a5f1eccdcc0f40c039ee0198897ee91f293a107c168eb3ff7998c7be096ed9e6/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f70796c6f61642f70796c6f61642f746573742e796d6c3f6576656e743d70757368267374796c653d666c61742d737175617265" data-canonical-src="https://img.shields.io/github/actions/workflow/status/pyload/pyload/test.yml?event=push&amp;style=flat-square" style="max-width: 100%;">
  </a>
  <a href="https://www.codacy.com/gh/pyload/pyload" rel="nofollow">
    <img alt="codacy" src="https://camo.githubusercontent.com/745c50bf6126952288880983cb91fe07d2e3f1a18a4f076802bb4b4aaa4fe8d2/68747470733a2f2f696d672e736869656c64732e696f2f636f646163792f67726164652f31643034376637376330613634393665623730386531623363613833303036623f6c6162656c3d6772616465267374796c653d666c61742d737175617265" data-canonical-src="https://img.shields.io/codacy/grade/1d047f77c0a6496eb708e1b3ca83006b?label=grade&amp;style=flat-square" style="max-width: 100%;">
  </a>
  <a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/40a8a08eda6b53498a0413597f05fa38dd41cced42c168d815b7462e7c392373/68747470733a2f2f696d672e736869656c64732e696f2f707970692f707976657273696f6e732f70796c6f61642d6e673f7374796c653d666c61742d737175617265"><img alt="python" src="https://camo.githubusercontent.com/40a8a08eda6b53498a0413597f05fa38dd41cced42c168d815b7462e7c392373/68747470733a2f2f696d672e736869656c64732e696f2f707970692f707976657273696f6e732f70796c6f61642d6e673f7374796c653d666c61742d737175617265" data-canonical-src="https://img.shields.io/pypi/pyversions/pyload-ng?style=flat-square" style="max-width: 100%;"></a>
  <a href="https://pypi.python.org/pypi/pyload-ng" rel="nofollow">
    <img alt="pypi" src="https://camo.githubusercontent.com/f7a24874e9efd6612e689237c95356779f086ee5a72c88280e1d3d4fd1a9d2d9/68747470733a2f2f696d672e736869656c64732e696f2f707970692f762f70796c6f61642d6e673f7374796c653d666c61742d737175617265" data-canonical-src="https://img.shields.io/pypi/v/pyload-ng?style=flat-square" style="max-width: 100%;">
  </a>
  <a href="https://pyup.io/repos/github/pyload/pyload" rel="nofollow">
    <img alt="pyup" src="https://camo.githubusercontent.com/6e36a50dadd8380d410de01553600fb070677fa71790700f49f79b62b0456bdc/68747470733a2f2f707975702e696f2f7265706f732f6769746875622f70796c6f61642f70796c6f61642f736869656c642e737667" data-canonical-src="https://pyup.io/repos/github/pyload/pyload/shield.svg" style="max-width: 100%;">
  </a>
</h4><a id="user-content-------------------------------------" class="anchor" aria-label="Permalink: " href="#------------------------------------"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div>

一、复制粘贴:(少了 3 个)

default.webm

二、剪藏:(少了 2 个,并多出几个链接)

image

@TCOTC TCOTC changed the title 改进链接和图片元素剪藏 改进链接和图片元素粘贴和剪藏 May 20, 2024
@88250 88250 self-assigned this May 21, 2024
@88250 88250 added this to the 3.0.16 milestone May 21, 2024
@88250 88250 changed the title 改进链接和图片元素粘贴和剪藏 Improve HTML a and img clipping May 21, 2024
@88250
Copy link
Member

88250 commented May 21, 2024

  • 链接嵌套图片的情况下只能把链接放到后面了
  • 少了图片的情况稍后解决

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

No branches or pull requests

2 participants