trimming presentation and removing hyperlinks