title: Clojure: Enlive has selector doesn't return anything
body: <p>I'm trying to get images inside links from enlive document. The following works:</p>
  
  <pre><code>(html/select nodes [:a :img])
  </code></pre>
  
  <p>But this way I only get the image nodes, I want the links too!</p>
  
  <p>So the next step was</p>
  
  <pre><code>(html/select nodes [:a (html/has [:img])])
  </code></pre>
  
  <p>But for some reason this returns just an empty list. I tried to browse the documentation and read the source code and it seems this should return links with img tags as child but maybe I missed something (or this is a bug)</p>