-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Description
In the current version of Gumbo, it seems to be impossible to use the children
method without qualifying it. This seems perverse when Gumbo
extends children
from AbstractTrees
. I don't yet have a satisfying solution to this.
julia> using Gumbo
julia> using AbstractTrees
julia> const ex = parsehtml("""
<html>
<head></head>
<body>
<p>a<strong>b</strong>c</p>
</body>
</html>
""");
julia> for n in children(ex.root)
println(n)
end
WARNING: both AbstractTrees and Gumbo export "children"; uses of it in module Main must be qualified
ERROR: UndefVarError: children not defined
in anonymous at ./<missing>:?
Metadata
Metadata
Assignees
Labels
No labels