Replacing newline literals with newlines for text and breaks for html

as well as vertically-aligning table data elements.