View Source Pages.HtmlTransformer (Pages v0.2.4)

Functions that transform Floki HTML

Link to this section Summary

Link to this section Functions

Link to this function

filter_by_text(html_tree, fun)

View Source
@spec filter_by_text(Floki.html_tree(), function()) :: list()
Link to this function

to_attribute_values(html_tree, attribute_name)

View Source
@spec to_attribute_values(Floki.html_tree(), Pages.Html.attr()) :: list()
@spec to_text(Floki.html_node()) :: [binary()]
@spec to_text(Floki.html_tree()) :: [binary()]