Support » Plugin: Lazy Load » Regular expression matching on image needs adjustment

Viewing 1 replies (of 1 total)
  • Thread Starter rhinogroup

    (@rhinogroup)

    I have found a work-around to this issue by changing the regex to:

    <img([^>]+?)src=[\'"]?([^\'">]+)[\'"]?([^>]*)>

    Basically just removing the \s, which prevents matching of spaces in the src attribute contents.

    I’ll monitor for side-effects of this change.

Viewing 1 replies (of 1 total)
  • The topic ‘Regular expression matching on image needs adjustment’ is closed to new replies.