Improve formatting for fingerprints in tooltips
(cherry picked from commit 77b74addaf9d8d2f5382bc5b0a5187a3497f74d6)