fix(ngSanitize): exclude smart quotes at the end of the link

When smart quotes are included in content filtered through linky, any
smart quote at the end of a URL string was being included in the link
text and the href.

Closes #7307