remove escape from pdf templates