replace newlines with <br> tags when inserting new notes