strip newlines in titles in vertical format