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.
Prefer single-quoted strings when you don't need string interpolation or special symbols.