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

img 元素中srcset attribute录制结果不准确,有uriencode #74

Open
1 task done
minimorph223 opened this issue Jan 4, 2021 · 1 comment
Open
1 task done
Labels
bug Something isn't working

Comments

@minimorph223
Copy link

minimorph223 commented Jan 4, 2021

  • I have searched the issues of this repository and believe that this is not a duplicate.

我使用的版本是chrome plugin 1.2.0.3

Reproduction link

https://user-images.githubusercontent.com/6702159/103499532-62311c00-4e83-11eb-81e4-04636de8eae4.png

Steps to reproduce

当录制页面中图片存在 attribute srcset, 通常格式是:

<img srcset=" url size, url size, url size " src="default url" >

例如:

image

而在录制之后,url 和size之间的空格就被转译成了 ‘%20’, 结果就是图片变成了404 不可访问的状态

image
类似的attribute data-srcset 则不会出现类似问题

What is expected?

支持srcset

What is actually happening?

支持srcset

Environment Info
System macOS 10.14.6
Browser Chrome 86.0.4240.198
@oct16 oct16 added the bug Something isn't working label Jan 4, 2021
@oct16
Copy link
Owner

oct16 commented Jan 4, 2021

确实有这个问题,下个版本进行修复

@jlalmes jlalmes mentioned this issue Apr 22, 2021
12 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants