skip to Main Content

Error:

An error has occurred while processing your template

Code:

Element <img> is not supported in <a>: <img alt="" data-src="https://secure.gravatar.com/avatar/3351cc569871d023d58bcd1029b48437?s=26&amp;d=mm&amp;r=g" class="avatar avatar-26 photo avatar-default" height="26" width="26"/>

2

Answers


  1. How about you make <a> as <div>?

    <div>: //a[.//img]

    Login or Signup to reply.
  2. You can split wrapped image into 2 separeted tags and Instant View will be generated:

    @split_parent: //a/img
    

    In your example it’s just avatar, that must be removed, because Intant View requred only articles without any comments. You can delete it with that code and all be working fine:

    @remove: //div[@class="someclass"]
    
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search