瀏覽代碼

Merge pull request #6 from myfreeweb/master

Fix implied_photo_deep trying to use a string as an element
master
Christian Kruse 2 年之前
committed by GitHub
父節點
當前提交
8c673ae24e
沒有發現已知的金鑰在資料庫的簽署中 GPG Key ID: 4AEE18F83AFDEB23
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      lib/implied.ex

+ 1
- 1
lib/implied.ex 查看文件

@ -123,7 +123,7 @@ defmodule Microformats2.Items.ImpliedProperties do
only_nodes = Enum.reject(children, &is_bitstring/1)
if Enum.count(only_nodes) == 1 do
child = List.first(children)
child = List.first(only_nodes)
sec_imgs = direct_not_h_children_with_attr(child, "img", "src")
sec_objs = direct_not_h_children_with_attr(child, "object", "data")


Loading…
取消
儲存