bug fix: new line characters should no longer appear in headings