          src: linkEl.getAttribute('href'),
          w: parseInt(size[0], 10),
          h: parseInt(size[1], 10)
        };

        if (figureEl.children.length &gt; 1) {
          // <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>figcaption</span><span class="token punctuation">&gt;</span></span> content
          item.title = figureEl.children[1].innerHTML;
        }

        if (linkEl.children.length &gt; 0) {
          // <span class="token tag"><span clas