Convert tab to spaces and use p tags