Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Attribute replacement doesn't work with minified HTML #8

Open
stewartyu opened this issue Jun 24, 2015 · 0 comments
Open

Attribute replacement doesn't work with minified HTML #8

stewartyu opened this issue Jun 24, 2015 · 0 comments
Assignees
Labels

Comments

@stewartyu
Copy link

Some sites use minified HTML, which can strip out quotation marks like this:

<img src=/img/icon/cauldron.8d73.png>

We want capturejs should change this to:

<img x-src=/img/icon/cauldron.8d73.png>

However, the regex requires the value to be wrapped by either " or ' which causes this to be skipped.

@donnielrt donnielrt added the bug label Nov 13, 2015
@donnielrt donnielrt self-assigned this Nov 13, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Development

No branches or pull requests

2 participants