don't linkify final periods at the ends of interests
complicated logic for preserving <br>s and periods

while making it so that they aren't included in the link

fixes #48