Preserve formatting in note widgets. Fixes #167 (sort of).