Function goose_eggs::get_src_elements
source · pub async fn get_src_elements(user: &mut GooseUser, html: &str) -> Vec<String>
Expand description
Extract all local static elements defined with a src=
tag from the the provided html.
While you can invoke this function directly, it’s generally preferred to invoke
validate_and_load_static_assets
which in turn invokes this function.