pub fn ends_with_href(text: &str) -> boolExpand description
Returns true if the given text string ends with a valid href attribute opener.
An href attribute looks like this: href="http://example.com",.
so we look for href=" at the end of the given string.
Spaces are allowed to exist in between the href, =, and ".
In addition, the quotation mark is optional, and can be either a single or double quote,
so this function takes those into account as well.