Fix @ sign in e-mail address of the PDF resume

This commit is contained in:
Gergely Polonkai 2014-06-22 15:42:05 +00:00
parent 27c2caf47c
commit 5f5bfb7854
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ def resumepdf(request):
body = render_to_string('basics/resume.html', {
'resume_link': resumelink(request),
'pdf': True
})
}).replace('<span class="at-obfuscation"></span>', '@')
dst = StringIO()
pdf = pisa.CreatePDF(body, dst)
pdf_data = dst.getvalue()