Format the title string

Only formats the title to be html_safe if it's not nil
Merge branch 'feature/prism_browse' of github.com:scholarslab/prism into feature/prism_browse