浏览代码

Merge pull request #6 from myfreeweb/master

Fix implied_photo_deep trying to use a string as an element
master
Christian Kruse 2 年前
提交者 GitHub
父节点
当前提交
8c673ae24e
找不到此签名对应的密钥 GPG 密钥 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")


正在加载...
取消
保存