Markup fix and pdf to _blank