[−][src]Trait ammonia::UrlRelativeEvaluate
Types that implement this trait can be used to convert a relative URL into an absolute URL.
This evaluator is only called when the URL is relative; absolute URLs are not evaluated.
See url_relative
for more details.
Required methods
fn evaluate<'a>(&self, _: &'a str) -> Option<Cow<'a, str>>
Return None
to remove the attribute. Return Some(str)
to replace it with a new string.