Perform some trimming on the note subject to fix some formatting bugs.