Module html

Source
Expand description

Helper functions dealing with HTML conversion.

Traits§

HtmlStr
This trait deals with tagged HTML &str data.
HtmlString
This trait deals with tagged HTML String data.

Functions§

rewrite_links
A helper function that scans the input HTML document in html_input for HTML hyperlinks. When it finds a relative URL (local link), it analyzes it’s path. Depending on the local_link_kind configuration, relative local links are converted into absolute local links and eventually rebased.