remove trimming

fixes some whitespace issues
handle linebreaks and .br correctly