added pdf export function and not escaping \n in the content field anymore