Preserve link href in truncated note view

Fixes #3910 

Notes on the dashboard views are truncated to 150 characters; this change ensures that when a link's text is truncated it still points to the correct URL.
Do not use `%Q` unless interpolation is needed.  Use `%q`.