web-clipper icon indicating copy to clipboard operation
web-clipper copied to clipboard

剪取网页代码块时会忽略注释内容

Open moce96 opened this issue 3 years ago • 1 comments

Bug 描述

剪取网页代码块时会忽略注释内容

复现步骤

重现的步骤:

  1. 打开需要剪取的带有代码块的网页,例如掘金博文
  2. 点击按钮智能提取
  3. 提取到的代码行内的注释内容被忽略了,但其往往还有解释性信息

预期行为 剪取代码行时保留注释内容

请填写以下信息

  • 笔记平台: [e.g. wolai]
  • 浏览器 [e.g. chrome]
  • 版本 [e.g. 1.30.1176]

moce96 avatar Jun 20 '22 03:06 moce96

这个是 mozilla/readability 的问题, web-clipper 作者引用的是0.3.0 的版本,现在最新的版本是0.5.0 不知道有没有解决这个问题

wxlevel avatar May 09 '24 06:05 wxlevel