Fixed broken links in Digest email

Based on @eviltrout's fix from 7a60eacca95f7e036bb83ea512cec7225dc73c2c.
Merge pull request #1711 from kohenkatz/bug/digest_email_links_broken

Fixed broken links in HTML version of Digest email