fix so note contents (elements or text) get wrapped properly